Skip to content

[pull] master from prometheus:master#10

Merged
pull[bot] merged 2 commits intoTheTechOddBug:masterfrom
prometheus:master
Apr 9, 2026
Merged

[pull] master from prometheus:master#10
pull[bot] merged 2 commits intoTheTechOddBug:masterfrom
prometheus:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

k1chik and others added 2 commits April 9, 2026 12:57
* docs: add API reference for all metric types

Adds constructor parameter tables, method documentation, and runnable
real-world examples for Counter, Gauge, Histogram, Summary, Info, and
Enum. The _index.md quick-pick table now covers all six types. Also
fixes labels.md which was missing remove(), remove_by_labels(), and
clear() -- the metric pages were already linking to it for those methods.

Closes #1021

Signed-off-by: k1chik <[email protected]>

* docs: address review feedback on counter example and table header

Revert quick-start counter example to use 'my_failures' (no _total suffix)
since the library appends it automatically. Rename 'Value goes' column to
'Behavior' in the metric type overview table for clarity across all six types.

Signed-off-by: k1chik <[email protected]>

* docs: rename table column to 'Update model'

Signed-off-by: k1chik <[email protected]>

---------

Signed-off-by: k1chik <[email protected]>
Signed-off-by: Chris Marchbanks <[email protected]>
@pull pull bot locked and limited conversation to collaborators Apr 9, 2026
@pull pull bot added the ⤵️ pull label Apr 9, 2026
@pull pull bot merged commit 2cd1738 into TheTechOddBug:master Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants