Replies: 3 comments 1 reply
-
|
Hi there. Thanks for reporting. This is much rather an issue than a question.
I am not certain if I understand your question correctly. But I assume that it can be explained with the answer to your second question.
You are right. This is a bug. I'll provide a fix for that asap. New logs must be added to the metrics as they are detected. This is probably the reason why you won't find all of the logs in the list. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, What we do: We can see a worker start for each URL in Google's log_list.json file. We don't add any additional URLs. When we query /metrics after the server starts, we only see about ten metrics of type certstreamservergo_certs_by_log_total. It's this behavior that I don't understand. If we restart the server, we still have about ten metrics of type certstreamservergo_certs_by_log_total, but not necessarily the same ones as at the previous startup! We do not observe this on version 1.9.0-beta2 and I do not see any changes related to metrics between these two versions! |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your answers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We installed version 1.8.1 and we found missing metrics after start cerstream-server-go.
We stopped the agent used by grafana before starting the server and we restart the agent after.
If I understand correctly, the Gauge metric certstreamservergo_certs_by_log_total is initialized only once in WritePrometheus function.
First question :
We run the command : curl http://localhost:8081/metrics and do not see all url.
How it's possible that WritePrometheus function is called with not all url ?
Second question :
The Gauge metrics certstreamservergo_certs_by_log_total are initialized only once (global boolean ctLogMetricsInitialized) and does not get updated when new URLs are added to Google’s log_list.json. Is that an accurate interpretation of the code?
internal/metrics/prometheus.go
Beta Was this translation helpful? Give feedback.
All reactions