Skip to content

Bug 2034431 - Add support for labeled probes in telemetry alerting. - #9734

Open
gmierz wants to merge 5 commits into
mozilla:masterfrom
gmierz:label-support
Open

Bug 2034431 - Add support for labeled probes in telemetry alerting.#9734
gmierz wants to merge 5 commits into
mozilla:masterfrom
gmierz:label-support

Conversation

@gmierz

@gmierz gmierz commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

This patch adds the necessary changes to support labeled probe types in telemetry alerting. A DB change is needed for the signature uniqueness to include labels as part of them since each probe+label combination is a unique time series. The commands are also updated to support labeled probes at the same time along with a new --force-monitor option so that we can test alerting on probes that don't have a monitor field defined on them yet (useful for testing new probe types).

from_build_date=str(
(probe_signature.created - timedelta(days=30)).strftime("%Y-%m-%d")
),
# Labeled probes hold one timeseries per label so each of them

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note that I'm not happy with how this code is looking but I didn't want to make this PR bigger. I'll implement a different approach in a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant