question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No means to fetch all labeled values in v3

See original GitHub issue

In version 2 of prometheus-net, I could collect all unlabeled and labeled values of a metric by calling ICollector.Collect(). In v3, this introspective ability has been lost- the closest I can see is Collector<TChild> .GetAllLabels but this is marked internal (as is Label). Is it possible to make these methods and types publicly callable? I’m facing difficulty in upgrading https://github.com/djluck/prometheus-net.DotNetRuntime to use v3 for this reason.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
sandersaarescommented, Mar 22, 2019

Preview nuget is uploading as I write this. I will push a stable version next week if no surprise problems reported.

0reactions
djluckcommented, Mar 22, 2019

Thanks heaps @sandersaares!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how can we deal with Label include 3 ordinal values in ...
I wonder about creating a prediction model that depend on ordinal categories, I have multi columns that contains most of then a severity...
Read more >
Add or remove data labels in a chart
You can use cell values as data labels for your chart. Right-click the data series or data label to display more data for,...
Read more >
Manipulate labels
The value label yesno labels the values 0 as no and 1 as yes. If you do not specify the name of the...
Read more >
Understanding Success Criterion 2.5.3: Label in Name | WAI
The speech-based navigation fails because the visible label spoken by the users does not match (or is not part of) the accessible name...
Read more >
HTTP API
The data section of the JSON response is a list of string label values. This example queries for all label values for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found