-
Notifications
You must be signed in to change notification settings - Fork 504
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
LinkerD and NamerD processes should announce their presence. #628
Labels
Comments
Related to #605 |
Tim-Brooks
pushed a commit
to Tim-Brooks/linkerd
that referenced
this issue
Dec 20, 2018
As described in linkerd#619. `process_start_time_seconds` is the idiomatic way of reporting to Prometheus the uptime of a process. It should contain the time in seconds since the beginning of the Unix epoch. The proxy now exports this metric: ``` ➜ http get localhost:4191/metrics HTTP/1.1 200 OK Content-Length: 902 Content-Type: text/plain; charset=utf-8 Date: Mon, 26 Mar 2018 22:09:55 GMT # HELP request_total A counter of the number of requests the proxy has received. # TYPE request_total counter # HELP request_duration_ms A histogram of the duration of a request. This is measured from when the request headers are received to when the request stream has completed. # TYPE request_duration_ms histogram # HELP response_total A counter of the number of responses the proxy has received. # TYPE response_total counter # HELP response_duration_ms A histogram of the duration of a response. This is measured from when theresponse headers are received to when the response stream has completed. # TYPE response_duration_ms histogram # HELP response_latency_ms A histogram of the total latency of a response. This is measured from whenthe request headers are received to when the response stream has completed. # TYPE response_latency_ms histogram process_start_time_seconds 1522102089 ``` Closes linkerd#619
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A running
linkerd
and/ornamerd
process should announce their admin interface using the various announcer plugins. This feature would therefore allow for such ancillary services as Prometheus to scrape metrics using such features as zookeeper server-set discovery to locate a 1:N deployment of each type. Its configuration may be defined within theadmin:
key of the instance itself.Example:
The text was updated successfully, but these errors were encountered: