X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a77e606772cd4909f2401f55cd7c3c08f8325fb8..9ae866579b9e62ac11817b8053aaae74be7ea1cf:/doc/admin/metrics.html.textile.liquid diff --git a/doc/admin/metrics.html.textile.liquid b/doc/admin/metrics.html.textile.liquid index fb33ccbd9e..b140bcc1ba 100644 --- a/doc/admin/metrics.html.textile.liquid +++ b/doc/admin/metrics.html.textile.liquid @@ -10,4 +10,37 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} -Arvados services support endpoints for monitoring the performance of a cluster. +Some Arvados services publish Prometheus/OpenMetrics-compatible metrics at @/metrics@. Metrics can help you understand how components perform under load, find performance bottlenecks, and detect and diagnose problems. + +To access metrics endpoints, services must be configured with a "management token":management-token.html. When accessing a metrics endpoint, prefix the management token with @"Bearer "@ and supply it in the @Authorization@ request header. + +
curl -sfH "Authorization: Bearer your_management_token_goes_here" "https://0.0.0.0:25107/metrics"
+
+ +The plain text export format includes "help" messages with a description of each reported metric. + +When configuring Prometheus, use a @bearer_token@ or @bearer_token_file@ option to authenticate requests. + +
scrape_configs:
+  - job_name: keepstore
+    bearer_token: your_management_token_goes_here
+    static_configs:
+    - targets:
+      - "keep0.ClusterID.example.com:25107"
+
+ +table(table table-bordered table-condensed table-hover). +|_. Component|_. Metrics endpoint| +|arvados-api-server|| +|arvados-controller|✓| +|arvados-dispatch-cloud|✓| +|arvados-dispatch-lsf|✓| +|arvados-git-httpd|| +|arvados-ws|✓| +|composer|| +|keepproxy|| +|keepstore|✓| +|keep-balance|✓| +|keep-web|✓| +|workbench1|| +|workbench2||