You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -395,9 +395,10 @@ Common activity tags:
395
395
|`hashgate.auth.scheme`| Authentication scheme name |
396
396
|`hashgate.auth.result`|`success` or `failure`|
397
397
|`hashgate.auth.failure_reason`| Failure reason, such as `invalid_signature`, `invalid_timestamp`, `invalid_content_hash`, `missing_required_signed_headers`, `too_many_signed_headers`, `replayed_signature`, or `authentication_error`|
398
+
|`hashgate.client`| HMAC client identifier for grouping API usage by client |
399
+
|`hashgate.endpoint`| Endpoint display name or request path for grouping API usage by endpoint |
398
400
|`hashgate.replay_protection.enabled`| Whether replay protection is enabled for the scheme |
399
401
|`hashgate.replay_protection.result`| Replay protection outcome: `new`, `replay`, or `not_configured`|
400
-
|`hashgate.hmac.client`| HMAC client identifier from the request |
401
402
|`hashgate.hmac.signed_headers.count`| Number of headers included in the signature |
402
403
|`hashgate.rate_limit.policy`| Resolved HashGate rate limit policy name |
403
404
|`hashgate.rate_limit.client`| Client or remote IP used for the rate limit partition |
@@ -422,7 +423,7 @@ Authentication activities also add `hashgate.content_hash.validated` when the re
422
423
|`hashgate.rate_limit.provider.lookup`| Counter |`{lookup}`| Number of per-client rate limit provider lookups |
423
424
|`hashgate.rate_limit.provider.miss`| Counter |`{miss}`| Number of per-client rate limit provider lookups that fell back to default limits |
424
425
425
-
Authentication metrics include `hashgate.auth.scheme`, `hashgate.auth.result`, and, for failures, `hashgate.auth.failure_reason`. Replay protection metrics include `hashgate.replay_protection.result`. Rate limit metrics include `hashgate.rate_limit.policy`; endpoint request metrics also include `hashgate.hmac.client`; provider lookup metrics also include `hashgate.rate_limit.provider_found`.
426
+
Authentication metrics include `hashgate.auth.scheme`, `hashgate.auth.result`, `hashgate.client`, `hashgate.endpoint`, and, for failures, `hashgate.auth.failure_reason`. Use `hashgate.auth.requests` grouped by `hashgate.client` and `hashgate.endpoint` to track which clients are using which API endpoints. Replay protection metrics include `hashgate.replay_protection.result`. Rate limit metrics include `hashgate.rate_limit.policy`; endpoint request metrics also include `hashgate.client` and `hashgate.endpoint`; provider lookup metrics also include `hashgate.rate_limit.provider_found`.
0 commit comments