[
https://issues.apache.org/jira/browse/SOLR-17458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940783#comment-17940783
]
Matthew Biscocho commented on SOLR-17458:
-----------------------------------------
I have a foundation for this working and slowly chipping away at it. The
direction I am going though, I can tell this will be a large code change. How
should this split up? Should this OpenTelemetry sit in parallel with Dropwizard
until it's removal? This can be a bit messy with synchronization. OTEL metrics
could be its own OTLP export only in the mean time with the tracing module
maybe. But upon removal of Dropwizard, the metrics api output possibly changes
here if we do the full move. I have some JVM metrics from OpenTelemetry but
they are not exactly equivalent to Dropwizard. But this also goes for any of
the other registry metrics. Since Dropwizard isn't tag/attribute based, to
maintain backwards compatibility with the metrics endpoint you would need to
make a shim or bridge to export the metrics to OTEL->Namelist for the response
writer. I'm assuming we'll still want this? For the prometheus endpoint, it is
easy as there is already an existing shim for OTEL->Prometheus, so we could
remove all the prometheus formatter code and just export OTELs with the shim to
the endpoint.
> Metrics: switch from DropWizard to OpenTelemetry
> ------------------------------------------------
>
> Key: SOLR-17458
> URL: https://issues.apache.org/jira/browse/SOLR-17458
> Project: Solr
> Issue Type: Improvement
> Reporter: Matthew Biscocho
> Priority: Major
>
> Solr currently captures metrics with Dropwizard 4. There was some limitations
> to Dropwizard, biggest one being metrics without tags/attributes making
> aggregation difficult and requires the Prometheus Exporter to work with
> Grafana.
> Creating this to track and explore integrating OpenTelemetry into Solr and
> possibly replace Dropwizard giving a larger exposure of observability tools.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]