Skip to content

Commit a325254

Browse files
authored
Fix warning callout for metrics configuration (#203)
1 parent 511ec09 commit a325254

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: content/configuration/16.metrics.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ To enable performance and error measurement of connected services, Directus can
1212
| `METRICS_TOKENS` | A CSV of tokens to allow access to via a `Authorization: Metrics <token>` header. By default it is restricted to admins | -- |
1313
| `METRICS_SERVICES` | A CSV of directus services to observe metrics for. Currently `database`, `cache`, `redis` and `storage` are supported | `database,cache,redis,storage` |
1414

15-
::: warning Metric Aggregation
16-
15+
::callout{icon="material-symbols:warning-rounded" color="amber"}
16+
**Metric Aggregation**
1717
If Directus is running within a PM2 context, then metrics will be aggregated on a per scheduled job frequency. Ensure
1818
Prometheus' scrape frequency takes that into account.
19-
20-
:::
19+
::

0 commit comments

Comments
 (0)