docs(changelog): OTLP metrics to Grafana — Jun 23 entry#107
Merged
Conversation
…edit drain, run latency agentsfleetd completes the OpenTelemetry triad by pushing metrics to Grafana Cloud (Mimir) alongside the traces and logs it already exports. Operators get off-Postgres dashboards for credit drain, token throughput by direction, and a run-latency histogram, plus a samples_dropped exporter-health counter. Gated by the same GRAFANA_OTLP_* env; DELTA temporality via a Fly OTel Collector (deltatocumulative). Also fixes traces/logs emitting invalid double-quoted JSON. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Amp-Thread-ID: https://ampcode.com/threads/T-019ef801-0fb6-711c-9760-b3045c4f2947 Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog entry for the M94 milestone (paired with agentsfleet
feat/m94-otlp-metrics): agentsfleetd now pushes metrics to Grafana Cloud Mimir, completing the OpenTelemetry triad next to traces and logs.What this entry covers
samples_droppedexporter-health counter.GRAFANA_OTLP_*now enables traces, logs, and metrics together.deltatocumulativeconverts before Mimir (the dashboard's deployment note documents it). Panels read empty without it.Review
🤖 Generated with Claude Code
Greptile Summary
This PR adds a changelog entry for the Jun 23, 2026 release documenting OTLP metrics support in agentsfleetd — covering credit drain, token throughput, and run-latency series pushed to Grafana Cloud Mimir — alongside a bug fix for double-quoted JSON in trace/log payloads.
<Update>block documents the three metric series, theGRAFANA_OTLP_*credential triple that now enables all three OpenTelemetry signals, the required OTel Collectordeltatocumulativeprocessor, and the ready-made Grafana dashboard atdeploy/grafana/agent-observability.json.Confidence Score: 5/5
Documentation-only change adding a changelog entry; no logic, no secrets, no breaking surface changes.
The change is a single, self-contained changelog block. Formatting is consistent with adjacent entries (blank lines between subheadings and bullet lists are present), the technical claims match the PR description, and the Collector prerequisite is called out explicitly so readers won't be surprised by empty panels.
No files require special attention.
Important Files Changed
Sequence Diagram
%%{init: {'theme': 'neutral'}}%% sequenceDiagram participant afd as agentsfleetd participant col as OTel Collector(deltatocumulative) participant gc as Grafana Cloud participant pg as Postgres afd->>pg: Commit charge (wallet/ledger) afd->>afd: Emit metric (after commit) afd->>col: OTLP push (delta temporality) credit_drained, token_throughput, run_latency col->>col: Convert delta to cumulative col->>gc: OTLP push (cumulative) to Mimir afd->>gc: OTLP traces to Tempo afd->>gc: OTLP logs to Loki note over afd,gc: All three signals share GRAFANA_OTLP_* credentials%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% sequenceDiagram participant afd as agentsfleetd participant col as OTel Collector(deltatocumulative) participant gc as Grafana Cloud participant pg as Postgres afd->>pg: Commit charge (wallet/ledger) afd->>afd: Emit metric (after commit) afd->>col: OTLP push (delta temporality) credit_drained, token_throughput, run_latency col->>col: Convert delta to cumulative col->>gc: OTLP push (cumulative) to Mimir afd->>gc: OTLP traces to Tempo afd->>gc: OTLP logs to Loki note over afd,gc: All three signals share GRAFANA_OTLP_* credentialsReviews (2): Last reviewed commit: "Fix changelog heading spacing" | Re-trigger Greptile