Giter Site home page Giter Site logo

Comments (12)

anryko avatar anryko commented on July 18, 2024 1

Hey @oli-g

I fixed that duplication bug and split the plugin in two. processes and process, because I can't do splinting graphs by instance and aggregating by instance in the same plugin :). Contradicting requirements. Now functionality is in part duplicated. In processes you can see all metrics per process and in process you see aggregated one metric graphs. If you don't need both, you can comment out undesired panels in plugin.

Looking forward to your feedback.

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

Hi @oli-g

Glad you like it :).

I will be able to look in to this mid next week for you. I will have to enable this collectd processes plugin feature and check how data is structured in influxdb to know exactly what to do.

To start figuring it out on your own you should read Configuration HOWTO. Understand what additional data is saved in influxdb and how it is different from the data already matched by plugin configuration. Most likely there will be a separate metric. something like processes_rss. In that case you would need to add configuration to reflect this metric in the graph in to already defined processes plugin.

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

Hey @oli-g

I added some initial support for extended processes metrics. Please check it out and tell me what you think. I can't make sense of ps_stacksize numbers. Maybe you will know what is wrong with numbers on this graph.
Unfortunately there is an aggregation bug and instance metrics are duplicated in merged graph. I have no idea why this happens at the moment :). Will have to investigate it later.

Looking forward to your feedback.

from grafana-influx-dashboard.

oli-g avatar oli-g commented on July 18, 2024

Wow! Good job, thank you! I'm going to have a look now and leave you some comments!

from grafana-influx-dashboard.

oli-g avatar oli-g commented on July 18, 2024

I added some minor comments to your commit. Additionally I can confirm you that I have merged graphs with duplicated metrics too, but just for Processes VM, Processes Stack Size, Processes RSS and Processes Code and Data graphs. Actually, for the first 3 graphs, I think that the aggregated version could be better, otherwise we would have 1 graphs with just 1 line for every process we're monitoring. What do you think?

Thank you for your effort!

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

I agree that it is convenient to have it aggregated. Unless you have more than 26 processes per host. In that case it will not work because grafana doesn't allow more than 26 queries per graph (26 comes from A-Z letters used as id's).
What do you think? How likely it is that somebody who uses extended processes metrics enabled will run in to this limitation?
What is your take on Processes Stack Size? I see some huge numbers there that don't make sense... but maybe it's just me.

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

Actually in Grafana3.1.1 there is no 26 query limit. It just shows empty space instead of a letter after 'Z'. Not sure if this is a bug or a feature :). This will permit to aggregate without this limitation.

from grafana-influx-dashboard.

oli-g avatar oli-g commented on July 18, 2024

Hi @anryko

Thank you for your effort on this! The dashboard looks cool, but from your last commit, the graphs Processes State and Processes Fork Rate (which are defined here and here) are no longer displayed. Is this intended or is it a side effect of your change? Should't they belong to the process plugin, and not to the processes one?

Actually we need those graphs as well.

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

Thanks for checking!
Fixed.

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

Merged to master. If you have any other suggestions please let me know.
Thank you for your help!

from grafana-influx-dashboard.

oli-g avatar oli-g commented on July 18, 2024

Thanks for merging it! I have another suggestion indeed, I'll open a new issue.

from grafana-influx-dashboard.

anryko avatar anryko commented on July 18, 2024

Cool. Can't wait for it! :)

from grafana-influx-dashboard.

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.