Answer: Set the environment variable OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative when exporting to Grafana Cloud or Prometheus, since metrics use delta temporality by default and those systems reject delta. Status: Confirmed Entry: tool/cursor/troubleshooting/metrics-temporality Revision: 1 Digest: sha256:15b0ad15fb0a13bf (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:37Z Last changed: 2026-11-13T03:08:37Z Last verified: 2026-11-20T12:33:11Z Next check: 2026-11-21T12:33:11Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of temporality preference variable | OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative | [1] | 2026-11-20 default temporality | delta | [1] | 2026-11-20 allowed values | delta | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/opentelemetry.md". https://cursor.com/docs/agent-sdk/guides/opentelemetry.md Role: primary. Accessed: 2026-11-20T12:33:11Z Quote: "set `OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative`" (Supports: temporality preference variable) Quote: "Metrics use delta temporality. Grafana Cloud and Prometheus reject delta" (Supports: default temporality) Quote: "`delta` (default), `cumulative`, or `lowmemory`." (Supports: allowed values) Snapshot SHA-256: 1e7da9d4f116cf6156761fd4b7677b72e91a74b20c35d8a02d40f351147f667d (captured 2026-11-13T03:08:37Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:37Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:33:11Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:33:11Z Last attempt: 2026-11-20T12:33:11Z Notes and limitations: Extracted automatically from a single official source (section "OpenTelemetry"). Related: https://latestn.com/tool/cursor/troubleshooting/missing-voice-chat-button Why don't I see the Start voice chat button in Cursor? https://latestn.com/tool/cursor/troubleshooting/network-troubleshooting What should I check if Cursor has network connectivity issues in my enterprise? https://latestn.com/tool/cursor/troubleshooting/proxy-vpn-http-compatibility How do I fix Cursor not working behind a proxy or VPN? https://latestn.com/tool/cursor/troubleshooting/inspect-saved-event-stream How do I inspect a saved event stream from a Cursor Agent SDK session? https://latestn.com/tool/cursor/troubleshooting/mac-worker-screenshot-clicks-fail Why do screenshots or clicks fail on my Cursor Mac worker? https://latestn.com/tool/cursor/troubleshooting/macos-endpoint-security-exclusions Which Cursor processes and paths should I add to my endpoint security exclusion list on macOS? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:37Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/troubleshooting/metrics-temporality/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/troubleshooting/metrics-temporality POST: https://latestn.com/dispute/tool/cursor/troubleshooting/metrics-temporality with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/troubleshooting/metrics-temporality?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix Cursor Agent SDK metrics being rejected by Grafana Cloud or Prometheus due to delta temporality? Revision 1, last verified 2026-11-20T12:33:11Z. https://latestn.com/tool/cursor/troubleshooting/metrics-temporality (accessed 2026-11-21T10:02:18Z). @misc{LatestN_tool_cursor_troubleshooting_metrics_temporality_r1, title = {How do I fix Cursor Agent SDK metrics being rejected by Grafana Cloud or Prometheus due to delta temporality?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/troubleshooting/metrics-temporality}}, note = {Revision 1; digest sha256:15b0ad15fb0a13bf; last verified 2026-11-20T12:33:11Z; accessed 2026-11-21T10:02:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/troubleshooting/metrics-temporality