Coder Social home page Coder Social logo

Need Information about how to get more information in metric labels and custom metric collection about pure-fb-openmetrics-exporter HOT 3 CLOSED

purestorage-openconnect avatar purestorage-openconnect commented on June 16, 2024
Need Information about how to get more information in metric labels and custom metric collection

from pure-fb-openmetrics-exporter.

Comments (3)

genegr avatar genegr commented on June 16, 2024

The way alerts metrics (and all the metrics reported by the exporter in general) are built is through direct invoking Pure FB REST API and in this case the only information that is made available by the API is the type of the alert and the counter of the related events. There is anyhow possibility to go deeper when a sllightly different approach is used, that is when also the FB logs are collected and sent for instance to ElasticSearch together with the exporter metrics. In that case it is possible to cross correlate the events and analyze them. This is a nice and not negligible side effect enabled by the exporter.

from pure-fb-openmetrics-exporter.

jmg011 avatar jmg011 commented on June 16, 2024

@genegr - How do I query the FB logs?

From the Alerts point of view, adding a TYPE description to the metric label makes more sense, because that I can send as a part of the alert. Of course, logs and ES will be more useful for further details. Is it possible to add TYPE description to the purefb_alerts_open metric?

from pure-fb-openmetrics-exporter.

genegr avatar genegr commented on June 16, 2024

Well, the problem with metrics like these that are related to logged messages is that there is not a canonical way to group/classify the messages so that it could be possible to add something like the TYPE description you are proposing. All what we have is the object we get as the response from the API call, which has among the others a summary description, but that is neither short enough nor "standardized" to be assumed as a categorization for the object itself. I frankly do not have a solution to that at the moment.

from pure-fb-openmetrics-exporter.

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.