Skip to content

Conversation

swcollard
Copy link
Contributor

re: #411

One of the other features mentioned in this issue is setting the metric Temporality configuration option on the SDK. This can have implications as different vendors requires the use of Delta over the default of Cumulative. This change creates a new enum to expose that option in the configuration file and sets the Temporality on the otel sdk.

Spec: https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality
Blogs explaining differences: https://grafana.com/blog/2023/09/26/opentelemetry-metrics-a-guide-to-delta-vs.-cumulative-temporality-trade-offs/ & https://docs.datadoghq.com/opentelemetry/guide/otlp_delta_temporality/

Ports similar change made in Apollo Router apollographql/router#3412

@apollo-librarian
Copy link

apollo-librarian bot commented Oct 2, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 6 changed, 0 removed
* (developer-tools)/apollo-mcp-server/(latest)/best-practices.mdx
* (developer-tools)/apollo-mcp-server/(latest)/config-file.mdx
* (developer-tools)/apollo-mcp-server/(latest)/deploy.mdx
* (developer-tools)/apollo-mcp-server/(latest)/index.mdx
* (developer-tools)/apollo-mcp-server/(latest)/limitations.mdx
* (developer-tools)/apollo-mcp-server/(latest)/_sidebar.yaml

Build ID: 7e9c8ee53a9441f8a1925b2d
Build Logs: View logs

URL: https://www.apollographql.com/docs/deploy-preview/7e9c8ee53a9441f8a1925b2d

@swcollard swcollard marked this pull request as ready for review October 3, 2025 18:04
@swcollard swcollard requested review from a team as code owners October 3, 2025 18:04
@swcollard swcollard requested review from alocay and DaleSeo October 7, 2025 19:34
Copy link
Contributor

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my feedback! 🙇‍♂️

Include enum name

Co-authored-by: Dale Seo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants