Comments (5)
Right now it is not possible to suppress export of some arbitrary metrics. All netrics collected in code running inside Sidekiq worker process, will be collected and exposed by yabeda-prometheus on /metrics endpoint of this process.
Can you please clarify, what are these “default” metrics you are talking about?
If you don't want to collect some of your custom metrics, you can place them inside unless ::Sidekiq.server?
block.
from yabeda.
Hey @Envek , by default metrics I mean all the 'Local per-process metrics' and 'Global cluster-wide metrics' defined in the Readme file. My question is how can I export just a few of them and not all of them.
from yabeda.
No, there is no way to do that currently. You can only disable the whole “Global cluster-wide metrics” group with collect_cluster_metrics
setting.
But why do you need that? I still can't get the use case.
from yabeda.
Transferred this issue to main yabeda repo as it's should be fixed there. Most probably we would like to support this metrics filtering in future.
from yabeda.
No, there is no way to do that currently. You can only disable the whole “Global cluster-wide metrics” group with
collect_cluster_metrics
setting.But why do you need that? I still can't get the use case.
Thanks @Envek ,
My use case is that I have to export a limited number of metrics to wavefront as we have a limit on the number of metrics to be sent. So, I was just trying if I could limit it from here itself somehow.
from yabeda.
Related Issues (12)
- Access Puma stats in models HOT 5
- Support for dynamic labels/tags (set in runtime) HOT 15
- Doesn't work in Ruby 2.2 HOT 5
- Yabeda.configure! is not called when starting server via bundle exec puma HOT 3
- No apply default_tags to all metrics HOT 2
- Current handling of groups leaves room for user error/confusion HOT 2
- Support for labels/tags for individual default metrics. HOT 4
- Allow Yabeda::Counter#increment to be called without argument HOT 2
- Allow to run `collect` blocks in every process of multi-process app HOT 1
- Global tags HOT 2
- Provide DSL to configure store settings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yabeda.