mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-24 02:18:47 +01:00
docs: Correct a few copy & paste mistakes
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
9b41783d58
commit
87c1dfa04b
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ This will expose the following metrics on `http://127.0.0.1:42042/metrics`:
|
|||
```
|
||||
# TYPE iocaine_requests_total counter
|
||||
iocaine_requests_total{user_agent="curl/8.11.1"} 1
|
||||
iocaine_requests_total{user_agent="ClaudeBot: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"} 1234
|
||||
iocaine_requests_total{user_agent="Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"} 1234
|
||||
```
|
||||
|
||||
## User agent grouping
|
||||
|
@ -90,7 +90,7 @@ The above configuration, assuming that we had the same visits as in the previous
|
|||
```
|
||||
# TYPE iocaine_requests_total counter
|
||||
iocaine_requests_total{user_agent="curl/8.11.1", user_agent_group="Other"} 1
|
||||
iocaine_requests_total{user_agent="ClaudeBot: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", user_agent_group="ClaudeBot"} 1234
|
||||
iocaine_requests_total{user_agent="Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", user_agent_group="ClaudeBot"} 1234
|
||||
```
|
||||
|
||||
It is strongly advised to set a catch-all agent group, so that the `user_agent_group` label can be limited to a known, smaller set of agents. Similarly, it is usually not a good idea to use the `UserAgent` label, because that can lead to metrics balooning out of control. Only use that label if you keep a close eye on Prometheus.
|
||||
|
|
Loading…
Reference in a new issue