Skip to content

Configurable aggregation temporality for OTLP registry #3145

@shakuzen

Description

@shakuzen

Please describe the feature request.
OTLP format supports delta and cumulative temporality. Currently the OTLP registry does not make this configurable and cumulative is always sent. While this should work for compliant OTLP receivers, as far as I understand, some users may have a preference for one and we could support making this configurable.

Rationale
OTLP explicitly does not have a preference of aggregation temporality. Since OTLP is not tied to a specific metrics backend, there is less reason for us to use one temporality over the other.

Additional context
See initial discussion: #3129 (comment). There is prior art in that the SimpleMeterRegistry allows configuring whether it is cumulative or step based.
/cc @twicksell

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA general enhancementregistry: otlpOpenTelemetry Protocol (OTLP) registry-relatedspring-boot changeChange is needed in Spring Boot for this issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy