Skip to content
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

Metrics don't update #1062

Open
tbantle22 opened this issue Dec 11, 2024 · 0 comments
Open

Metrics don't update #1062

tbantle22 opened this issue Dec 11, 2024 · 0 comments
Assignees

Comments

@tbantle22
Copy link
Contributor

I can connect to the metrics http endpoint when I add a metrics config.

metrics:
  host: "0.0.0.0"
  port: 8000

And sending a request to that endpoint.

taylor@MacBook-Pro-2 ~ % curl http://127.0.0.1:8000/metrics
# HELP dss_concurrent_connections Number of clients concurrently connected to this instance of dolt sql server
# TYPE dss_concurrent_connections gauge
dss_concurrent_connections 0
# HELP dss_concurrent_queries Number of queries concurrently being run on this instance of dolt sql server
# TYPE dss_concurrent_queries gauge
dss_concurrent_queries 0
# HELP dss_connects Count of server connects
# TYPE dss_connects counter
dss_connects 0
# HELP dss_disconnects Count of server disconnects
# TYPE dss_disconnects counter
dss_disconnects 0
# HELP dss_dolt_version The version of dolt currently running on the machine
# TYPE dss_dolt_version gauge
dss_dolt_version 983040
# HELP dss_query_duration Histogram of dolt sql server query runtimes
# TYPE dss_query_duration histogram
dss_query_duration_bucket{le="0.01"} 0
dss_query_duration_bucket{le="0.1"} 0
dss_query_duration_bucket{le="1"} 0
dss_query_duration_bucket{le="10"} 0
dss_query_duration_bucket{le="100"} 0
dss_query_duration_bucket{le="1000"} 0
dss_query_duration_bucket{le="+Inf"} 0
dss_query_duration_sum 0
dss_query_duration_count 0
# 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"} 1.1708e-05
go_gc_duration_seconds{quantile="0.25"} 1.4625e-05
go_gc_duration_seconds{quantile="0.5"} 2.6583e-05
go_gc_duration_seconds{quantile="0.75"} 2.9417e-05
go_gc_duration_seconds{quantile="1"} 7.2375e-05
go_gc_duration_seconds_sum 0.000154708
go_gc_duration_seconds_count 5

...more metrics

But if I do something that should update one of the metrics like connect to the server, that field does not update (dss_concurrent_connections should change from 0 to 1)

@tbantle22 tbantle22 self-assigned this Dec 12, 2024
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

1 participant