Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

[Query] #11

Open
senthil13 opened this issue Apr 9, 2020 · 1 comment
Open

[Query] #11

senthil13 opened this issue Apr 9, 2020 · 1 comment

Comments

@senthil13
Copy link

Can I get sample queries which we can put for the rules like ?

Thanks
Senthil.

@LHozzan
Copy link

LHozzan commented Jun 24, 2022

Hi @senthil13 .

My apologize, but I am not sure, what you want?

All exposed metrics from exporter you can find on his endpoint. Looks like (data from my devel k8s cluster):

$ curl http://localhost:9198/metrics
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 2.0595e-05
go_gc_duration_seconds{quantile="0.25"} 6.5335e-05
go_gc_duration_seconds{quantile="0.5"} 8.9985e-05
go_gc_duration_seconds{quantile="0.75"} 0.00020829
go_gc_duration_seconds{quantile="1"} 0.007085562
go_gc_duration_seconds_sum 0.058868078
go_gc_duration_seconds_count 171
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 9
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.18.3"} 1
...
# HELP logstash_events_duration_in_millis
# TYPE logstash_events_duration_in_millis gauge
logstash_events_duration_in_millis 178536
# HELP logstash_events_filtered
# TYPE logstash_events_filtered gauge
logstash_events_filtered 117196
# HELP logstash_events_in
# TYPE logstash_events_in gauge
logstash_events_in 117196
# HELP logstash_events_out
# TYPE logstash_events_out gauge
logstash_events_out 117196
...

If I am wrong, please, be more descriptive or mention some examples.
Thank you!

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

2 participants