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.

Option to disable per-node metrics

See original GitHub issue

We are using docker slaves in Jenkins, which get random names. As a consequence, more and more series pile up in the database with names like jenkins_node_docker_76eb8f041ea67_builds_count. Would be nice if these metrics could be disabled, or if a label/tag was used instead.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
LuboVargacommented, Jul 11, 2018

Imho labe is must. According prometheus best practice it have to be like: `jenkins_node_builds_count{nodename=“docker_76eb8f041ea67”}…

0reactions
midnightconmancommented, Oct 26, 2020

I am not sure how you guys have your prometheus setup, but I drop these metrics at scrape time via something like this:

    - action: drop
      regex: ^jenkins_node_.+_builds$
      sourceLabels:
      - __name__
    - action: drop
      regex: ^jenkins_node_.+_builds_count$
      sourceLabels:
      - __name__
    - action: drop
      regex: ^label_jenkins_.*$
      sourceLabels:
      - __name__

I would recommend doing the same, until we get some traction on this feature / bug request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitoring OpenSearch cluster metrics with Amazon ...
OpenSearch Service sends metrics to CloudWatch in 60-second intervals. ... 1 indicates that the AWS KMS key used to encrypt data at rest...
Read more >
Managing metrics | Monitoring | OpenShift Container Platform ...
Understanding metrics; Setting up metrics collection for user-defined projects ... To disable a query from being run, select kebab ...
Read more >
Monitoring Kubernetes Performance Metrics | Datadog
Learn about the key Kubernetes metrics that can help you track your orchestrated, containerized infrastructure.
Read more >
Diagnostic settings in Azure Monitor - Microsoft Learn
Also, it's a good practice to delete the diagnostic settings for a ... The AllMetrics setting routes a resource's platform metrics to other ......
Read more >
Metrics — Ray 2.2.0 - the Ray documentation
Supports custom metrics APIs that resemble Prometheus metric types. ... This should be scaled by the number of cores per node to convert...
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