Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Metrics on cluster of Logstash #22

Open
StephaneFr44 opened this issue Apr 28, 2020 · 3 comments
Open

Metrics on cluster of Logstash #22

StephaneFr44 opened this issue Apr 28, 2020 · 3 comments

Comments

@StephaneFr44
Copy link

Hey,
I have a swarm replicaset of 8 logstash and I wan't to know if it's possible to identify each logstash in the metrics ?

best regards
Stéphane

@jensskott
Copy link

I have the same issue in kubernetes.
For example
logstash_node_mem_heap_max_bytes gives me a combine metric from all my nodes in behind the service in kubernetes without a way to have a selector per cluster node.

@StephaneFr44
Copy link
Author

Have you got an issue to analyse each logstash ?

@mpucholblasco
Copy link

Maybe this issue could be fixed by adding a custom label (e.g. https://albersdevelopment.net/2019/08/28/prometheus-adding-a-label-to-a-target/) on each scrapping configuration. For instance, we use prometheus operator, so we could add this via ServiceMonitor -> spec -> metricRelabelings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants