Jan Høydahl created SOLR-18165:
----------------------------------
Summary: Use dot separated metric names for OTLP
Key: SOLR-18165
URL: https://issues.apache.org/jira/browse/SOLR-18165
Project: Solr
Issue Type: Bug
Components: metrics
Affects Versions: 10.0
Reporter: Jan Høydahl
In v 10.0 we switched to OTEL for metrics with new sets of metric names
compared to 9.x. We currently use underscore_separated_names for metrics.
The OTEL convention is to use dot.separated.names for metrics. See
[https://opentelemetry.io/docs/specs/semconv/general/naming/]
As it was a mistake to use underscores everywhere in 10.0, this issue will fix
the naming to comply with conventions.
h2. Consequences
* The prometheus metrics endpoints will *NOT* be changed, will still export
prometheus style underscore separated metric names
* The OTLP metric exporter WILL change, which is a backward compatibility
break. But few people use v10.0.0 and even fewer have started depending on
underscores downstream, and those who do can write a transformer rule in OTEL
Collector that use underscores
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]