8000 Selectors for get_metrics · Issue #25 · metricq/metricq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Selectors for get_metrics #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
7 tasks
tilsche opened this issue Apr 5, 2019 · 1 comment
Open
7 tasks

Selectors for get_metrics #25

tilsche opened this issue Apr 5, 2019 · 1 comment

Comments

@tilsche
Copy link
Contributor
tilsche commented Apr 5, 2019

The current use of regex for selector can be confusing for clients, particularly when a metric name is a prefix of another one.

Define a simple selector syntax with wildcards that is converted to a regex in the manager - or if no wildcards are included just query the name itself.

Different kinds of selectors (full regex, simple selector, name only) could either use different optional parameters, or one parameter and a "selector type".

Maybe use the RabbitMQ syntax?

  • Coherent selector concept
  • Definition of RPC
  • Implementation in manager
  • Implement C++ interface
  • Implement Python interface
  • Adapt grafana endpoint
  • Adapt Score-P plugin
@tilsche
Copy link
Contributor Author
tilsche commented May 29, 2019

As an intermediate step, the selector can now be a list of string which are matched exactly. So in order to get metadata for one specific metric, you can pass a list with a single entry being the name.

@phijor phijor self-assigned this Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0