-
Notifications
You must be signed in to change notification settings - Fork 143
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
oohelperd: add support for prometheus metrics #2183
Comments
We're using a request-specific logger where we also print the ID of the request. This design helps to observe logs produced by concurrent requests. Part of ooni/probe#2183 While there, fix ooni/probe#2241
We're using a request-specific logger where we also print the ID of the request. This design helps to observe logs produced by concurrent requests. Part of ooni/probe#2183 While there, fix ooni/probe#2241
Closes ooni/probe#2183 While there, avoid exposing nil values for optional fields of the THResponse struct (i.e., "ip_info" and "tls_handshake").
Closes ooni/probe#2183 While there, avoid exposing nil values for optional fields of the THResponse struct (i.e., "ip_info" and "tls_handshake"). While there, fix `measurexlite`'s `OperationLogger` test and make it deterministic rather than racy.
We revisited our initial metrics deployment with @FedericoCeratto and wrote together this very short document explaining how to improve the existing metrics: Terminology
Rationale: “measurement” is a loaded term and we want to avoid using it also in metrics. Proposed metrics
ConcernsWe need to investigate more in depth the impact of using 10m for Summary. |
1. add extra label to measurements by status code so that we can understand why we're returning 400 to clients; 2. add counter for number of measurements started (which is also part of the summary, but whatever) and failed. The latter counter is mostly related to cases in which the TH cannot even start to perform a measurement. That is: - it's not a failure if a specific host is down; - it's a failure if we cannot even parse the input URL. Part of ooni/probe#2183
This diff updates the metrics according to ooni/probe#2183 (comment)
We can close again: I have just merged the PR implemented the above mentioned changes! |
Make sure we don't say measurement in metrics. See ooni/probe#2183 (comment)
Make sure we don't say measurement in metrics. See ooni/probe#2183 (comment)
We discussed which metrics today with @FedericoCeratto and @hellais and we mentioned:
The text was updated successfully, but these errors were encountered: