O'Reilly logo
  • AKIHITO INOH thinks this is interesting:

It is not possible to have varying label names for a metric, and client libraries will prevent you from doing so. For metrics-based monitoring it is important that you know your labels in advance when doing direct instrumentation. If you don’t know your labels, you probably want a logs-based monitoring tool for that specific use case instead.

From

Cover of Prometheus: Up & Running

Note

予め計測できない類のメトリクスがあると考えられる場合は、メトリクスじゃなくてロギングのシステムを使うべき。