Closed Bug 1738880 Opened 4 years ago Closed 3 years ago

Document file name requirement for metrics.yaml/pings.yaml due to probe-scraper

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: janerik, Assigned: janerik)

Details

Attachments

(1 file)

On the metrics yaml doc page we document that the metric definition file can have any name.
While the Glean tooling locally (glean_parser) supports that, probe-scraper currently requires fixed names.

We should adjust the docs accordingly to point this out.

Feels a bit unfortunate to have to talk about probe scraper specifics in the docs, but this is a gotcha worth noting.

What would it take to remove this restriction in probe_scraper. From the code, it just looks like an arbitrary sanity check, not anything that's required.

Filed https://github.com/mozilla/probe-scraper/issues/364 to explore whether we could just remove the restriction from probe-scraper instead.

Whiteboard: [telemetry:glean-rs:m?]
Assignee: nobody → jrediger
Priority: P3 → P1
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: