mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 08:27:26 +02:00
more idp metrics (#2842)
This commit is contained in:
parent
6b949a5c2e
commit
c19dd80fe6
4 changed files with 269 additions and 8 deletions
|
@ -510,6 +510,8 @@ Expose a prometheus endpoint on the specified port.
|
|||
|
||||
#### Pomerium Metrics Tracked
|
||||
|
||||
Each metric exposed by Pomerium has a `pomerium` prefix, which is omitted in the table below for brevity.
|
||||
|
||||
Name | Type | Description
|
||||
--------------------------------------------- | --------- | -----------------------------------------------------------------------
|
||||
grpc_client_request_duration_ms | Histogram | GRPC client request duration by service
|
||||
|
@ -528,21 +530,41 @@ http_server_request_duration_ms | Histogram | HTTP server request
|
|||
http_server_request_size_bytes | Histogram | HTTP server request size by service
|
||||
http_server_requests_total | Counter | Total HTTP server requests handled by service
|
||||
http_server_response_size_bytes | Histogram | HTTP server response size by service
|
||||
pomerium_build_info | Gauge | Pomerium build metadata by git revision, service, version and goversion
|
||||
pomerium_config_checksum_int64 | Gauge | Currently loaded configuration checksum by service
|
||||
pomerium_config_last_reload_success | Gauge | Whether the last configuration reload succeeded by service
|
||||
pomerium_config_last_reload_success_timestamp | Gauge | The timestamp of the last successful configuration reload by service
|
||||
build_info | Gauge | Pomerium build metadata by git revision, service, version and goversion
|
||||
config_checksum_int64 | Gauge | Currently loaded configuration checksum by service
|
||||
config_last_reload_success | Gauge | Whether the last configuration reload succeeded by service
|
||||
config_last_reload_success_timestamp | Gauge | The timestamp of the last successful configuration reload by service
|
||||
redis_conns | Gauge | Number of total connections in the pool
|
||||
redis_idle_conns | Gauge | Total number of times free connection was found in the pool
|
||||
redis_wait_count_total | Counter | Total number of connections waited for
|
||||
redis_wait_duration_ms_total | Counter | Total time spent waiting for connections
|
||||
storage_operation_duration_ms | Histogram | Storage operation duration by operation, result, backend and service
|
||||
|
||||
#### Identity Manager
|
||||
|
||||
Identity manager metrics have `pomerium_identity_manager` prefix.
|
||||
|
||||
Name | Type | Description
|
||||
--------------------------------------------- | --------- | -----------------------------------------------------------------------
|
||||
last_refresh_timestamp | Gauge | Timestamp of last directory refresh operation.
|
||||
user_refresh_success_timestamp | Gauge | Timestamp of last successful user refresh.
|
||||
user_refresh_error_timestamp | Gauge | Timestamp of last user refresh ended in an error.
|
||||
user_refresh_errors | Counter | User refresh error counter.
|
||||
user_refresh_success | Counter | User refresh success counter.
|
||||
user_group_refresh_success_timestamp | Gauge | Timestamp of last group successful user refresh.
|
||||
user_group_refresh_error_timestamp | Gauge | Timestamp of last user group refresh ended in an error.
|
||||
user_group_refresh_errors | Counter | User group refresh error counter.
|
||||
user_group_refresh_success | Counter | User group refresh success counter.
|
||||
session_refresh_success_timestamp | Gauge | Timestamp of last successful session refresh.
|
||||
session_refresh_error_timestamp | Gauge | Timestamp of last session refresh ended in an error.
|
||||
session_refresh_errors | Counter | Session refresh error counter.
|
||||
session_refresh_success | Counter | Session refresh success counter.
|
||||
|
||||
#### Envoy Proxy Metrics
|
||||
|
||||
As of `v0.9`, Pomerium uses [envoy](https://www.envoyproxy.io/) for the data plane. As such, proxy related metrics are sourced from envoy, and use envoy's internal [stats data model](https://www.envoyproxy.io/docs/envoy/latest/operations/stats_overview). Please see Envoy's documentation for information about specific metrics.
|
||||
|
||||
All metrics coming from envoy will be labeled with `service="pomerium"` or `service="pomerium-proxy"`, depending if you're running all-in-one or distributed service mode.
|
||||
All metrics coming from envoy will be labeled with `service="pomerium"` or `service="pomerium-proxy"`, depending if you're running all-in-one or distributed service mode and have `pomerium` prefix added to the standard envoy metric name.
|
||||
|
||||
|
||||
### Metrics Basic Authentication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue