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.

Relax necessity of declaring labelset in advance

See original GitHub issue

There is no inherent restriction in prometheus for this. Labels can appear or disappear from the timeseries a node exports. This restriction in this JS client appears to be a consequence of choices made in the design of the internal hashmap property used in the 4 metrics classes, the utils.setValue() function, and possibly the utils.getLabels() function. This issue is a placeholder for further investigation.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dt-rushcommented, Jul 22, 2020

For posterity: As of now, until or unless this is implemented, simply declaring all possible labels in advance is an option if that set is finite and known in advance.

1reaction
zbjornsoncommented, Apr 24, 2020

Sorry for the delay. Hoping to have time to look this weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learning to RELAX - XML.com
Overview. In this article, we'll explore some of the more advanced features of the RELAX schema language by using it to create a...
Read more >
POS Tagging Using Relaxation Labelling - ACL Anthology
Relaxation labelling is an optimization technique used in many fields to solve constraint satisfael,ion problems. The al-.
Read more >
Guidance for Industry - Labeling OTC Human Drug Products
To avoid such confusion, manufacturers, packers, and distributors may wish to consider using a second set of labels for drug products with a...
Read more >
Printing Custom Labels
recommended for advanced users who need to integrate their label printing with a customer database. If you are a small business owner or...
Read more >
STANDARD CIDER BRAND LABEL REGISTRATION
Handwritten applications will be disapproved. Disapproved registrations will be refunded if applicable, less 25%. Submit a complete set of LEGIBLE brand labels ......
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