Repository navigation
docs(openspec): plan #4697 Keep one metric stream per workload - #5032
Closed
devops-cli-service[bot] wants to merge 1 commit into
Closed
devops-cli-service[bot] wants to merge 1 commit into
devops-cli-service[bot] wants to merge 1 commit into
Conversation
This was referenced Nov 12, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 12, 2026
The stage writer gave a `manifest` group the tasks of a `behavior` group and wrote no `Kind:` line (#3981). The reader read it as `behavior`, and the #3035 rule refused each such group with no path under `src/`, so #4963 and #5032 could not be read. - The writer writes `Kind: <kind>. Reads: ... Changes: ...` for each group. - The reader reads the kind from that line. A group of the old form (no line, or a word that is no kind) gets its kind from its tasks: `behavior` with a path under `src/`, else `manifest`, or `other`. - The reader reads `## Unchanged references`, and drops only the last fits-one-PR line. - `FIELDS_NOT_IN_FILES` and `file_facts` state what a round trip keeps. Hypothesis tests hold it. The issue asks for an error on a word that is no kind. #3164 holds `Kind: documentation.` and reads on the base, so the reader keeps the inference for that word. Closes #5205 Change: `openspec/changes/archive/2026-11-12-5205-write-and-read-the-kind-of/`
Owner
Closed: the plan cites a removed option (2026-11-12)
Task 2.3 of #4697 now holds a constraint line, so the stage job plans the item again. |
devops-cli-service
Bot
deleted the
fix/4697-keep-one-metric-stream-per-workload
branch
November 12, 2026 23:35
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.
Plans #4697
The metric Resource carries host.name, the pod name. The collector keys a stream by every resource attribute, while Prometheus keeps only job and instance, so each pod start begins a new total in one series, and a total that is not lower than the old one is lost (#4697). The change builds the metric Resource from service.name, service.namespace, service.instance.id, os.type and telemetry.sdk.* only, reads service.instance.id from OTEL_RESOURCE_ATTRIBUTES, and keeps host.name on spans and logs. Both CronJob templates set service.instance.id=devops-cli-job, and one cluster Job runs at a time, so one process writes the stream. The alert DevopsCliMetricStreamsShareSeries warns when two streams write one Prometheus series for 30 minutes, with promtool cases and a runbook row.
Change:
openspec/changes/4697-keep-one-metric-stream-per-workload/