You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2026/04/08 12:30:00 UTC

[jira] [Updated] (SOLR-18165) Use dot separated metric names for OTLP

     [ https://issues.apache.org/jira/browse/SOLR-18165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-18165:
-------------------------------
    Fix Version/s: 10.1

> 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
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 10.1
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org