Page MenuHomePhabricator

MPIC: Make Contextual attributes field optional
Closed, ResolvedPublic1 Estimated Story Points

Description

Problem

The Metrics Platform documentation on WikiTech (specifically How to/Create First Metrics Platform Instrument) indicates that Contextual attributes are optional, while that is not indicated by the equivalent MPIC form field.

Suggested solution

Let's make the "Contextual attributes" field optional, and point this out by displaying an "Optional" field indicator next to its label.

Screenshot 2024-09-05 at 15.17.43.png (246×1 px, 33 KB)

Acceptance criteria

Event Timeline

According to what we have discussed in slack (https://wikimedia.slack.com/archives/C05ERLBF0E7/p1726219102103249), I have updated the ACs for this ticket to include some agreements we made:

  • MPIC will add agent_client_platform_family by default (it's a mandatory contextual attribute) and consider the rest of contextual attributes as optional
  • Some information will be shown while registering an instrument to inform the user about this
Sfaci set the point value for this task to 2.
Sfaci changed the point value for this task from 2 to 1.

Change #1075207 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[operations/deployment-charts@master] MPIC: Deploying on staging a new relase v0.2

https://gerrit.wikimedia.org/r/1075207

Change #1075207 merged by jenkins-bot:

[operations/deployment-charts@master] MPIC: Deploying on staging a new relase v0.2

https://gerrit.wikimedia.org/r/1075207

Change #1075524 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[operations/deployment-charts@master] MPIC: Deploying to production a new relase v0.2

https://gerrit.wikimedia.org/r/1075524

Change #1075524 merged by jenkins-bot:

[operations/deployment-charts@master] MPIC: Deploying to production a new relase v0.2

https://gerrit.wikimedia.org/r/1075524