Skip to content

docs(openspec): plan #4697 Keep one metric stream for each workload - #5283

Merged
dan-petty merged 1 commit into
mainfrom
fix/4697-keep-one-metric-stream-per-workload
Nov 13, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/4697-keep-one-metric-stream-per-workload

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #4697

One metric stream per workload. The metric Resource takes service.name, service.namespace, service.instance.id, os.type and telemetry.sdk.* only, and drops host.name, which is the pod name. The collector keys a metric stream by every resource attribute while Prometheus keeps job and instance, so each pod start began a new total at zero in one series and its counts were lost. Spans and logs keep host.name. Both CronJob templates set OTEL_RESOURCE_ATTRIBUTES to service.instance.id=devops-cli-job, so the runner Jobs share one stream. The rule DevopsCliMetricStreamsShareSeries fires when two target_info series of one job and instance stay for 30 minutes, with promtool cases and a runbook row. The telemetry reference is regenerated.

Change: openspec/changes/4697-keep-one-metric-stream-per-workload/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 12, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 12, 2026 23:43
@dan-petty
dan-petty merged commit 58795b0 into main Nov 13, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/4697-keep-one-metric-stream-per-workload branch November 13, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant