Skip to content

feat(telemetry): name the repository the same way in logs and traces - #7867

Merged
dan-petty merged 5 commits into
mainfrom
feat/4576-name-the-repository-the-same-way
Nov 30, 2026
Merged

dan-petty merged 5 commits into
mainfrom
feat/4576-name-the-repository-the-same-way

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Service names a repository by one casefolded owner/name in its JSON logs, its round spans and the repo label of its metrics, so one Grafana variable filters the three signals with one value. The repo label is other for a repository outside service.repos. The router Deployment carries no repository annotation, which a check of the k8s row asserts. The Loki stream label of a unit pod is the follow-up dan-petty/homelab#270, because the k8s-monitoring values moved to the infrastructure repository.

Closes #4576

Change: openspec/changes/archive/2026-11-30-4576-name-the-repository-the-same-way/

The k8s-monitoring values moved to the infrastructure repository on
2026-11-26, so the Loki stream label of a unit pod is the follow-up
dan-petty/homelab#270. The plan drops that group, and the router check
renders the product base k8s/devops.
The Service writes one casefolded owner/name for a repository in its
JSON logs, its round spans (OpenTelemetry VCS attributes in place of
service.repo) and the repo label of its metrics, which is other for a
repository outside service.repos. The router's delivery record names
the same key. The router Deployment must carry no repository
annotation; a check of the k8s row asserts it. The stream label of a
unit pod is the follow-up dan-petty/homelab#270.

Closes #4576
The change folder moves to the archive and its delta specs merge into
the living specs. The new capability monitoring-collectors gets its
Purpose, and its tasks are ticked, as each names a command that passes.
@dan-petty dan-petty added type/feature Type feature: a new function scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger labels Nov 30, 2026
The architectural test-tree gate caps the private imports of the tests
and forbids a test module that reads its own __file__. The router record
test posts a signed delivery through the route instead of importing
_Delivery, and the repo context test names its file with a literal.
@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 13:24
@dan-petty
dan-petty merged commit 718a32b into main Nov 30, 2026
36 checks passed
@dan-petty
dan-petty deleted the feat/4576-name-the-repository-the-same-way branch November 30, 2026 13:25
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.259.0](v0.258.5...v0.259.0)
(2026-11-30)


### Features

* **telemetry:** name the repository the same way in logs and traces
([#7867](#7867))
([718a32b](718a32b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(telemetry): name the repository the same way in logs and traces

1 participant