Code Monkey home page Code Monkey logo

Comments (4)

gsanchezgavier avatar gsanchezgavier commented on August 16, 2024 1

Hi @bpschmitt ignore_metrics: is part of transformations: object. Please try using the following:

transformations: 
  - description: "Description" 
    ignore_metrics:
      - prefixes:
        - "http_"

I think the Docs examples could lead you to this issue. I will propose a change there.

from nri-prometheus.

douglascamata avatar douglascamata commented on August 16, 2024

Hi @bpschmitt!

The kube_ prefix metrics that are being included can represent a huge number of metrics, as there are many metrics exposed about each one of these resources (hpas, daemonset, etc).

I recommend that you start allowing only nr_stats and apiserver_request_total and start opening up for more things little by little.

Also it's worth to mention that, depending on what there is running in the cluster, there might be other dimensional metrics being sent to New Relic. Even maybe another instance of nri-prometheus?

You can query FROM Metric select uniques(metricName) where integrationName = 'nri-prometheus' to verify.

from nri-prometheus.

bpschmitt avatar bpschmitt commented on August 16, 2024

Revisiting this. I'm now trying to ignore specific metrics as outlined in our docs. Here is the config being presented to my POMI pod.

/etc/nri-prometheus $ cat config.yaml
cluster_name: bschmitt-kops
require_scrape_enabled_label_for_nodes: true
ignore_metrics:
  - prefixes:
    - "http_"

POMI logs:

time="2020-08-31T21:55:15Z" level=info msg="Starting New Relic's Prometheus OpenMetrics Integration version 2.0.0"

Still seeing http_* metrics showing up for my cluster. The ignore_metrics feature still does not seem to be working properly. Halp! @jorik @douglascamata

image

from nri-prometheus.

gsanchezgavier avatar gsanchezgavier commented on August 16, 2024

I'll close this issue, docs are in process to be updated , feel free to reopen it for any other question, thanks!

from nri-prometheus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.