Skip to content

Commit

Permalink
chore: add example
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
  • Loading branch information
markphelps committed Nov 27, 2024
1 parent 7ee8455 commit bb0e012
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configuration/analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,11 @@ To configure Flipt to use Prometheus for analytics, you will need to add the fol
### Custom Headers

You can also add custom headers to the Prometheus requests by setting the `analytics.storage.prometheus.headers` configuration property. This can be useful if you are using a proxy or need to add additional authentication headers.

Check warning on line 109 in configuration/analytics.mdx

View workflow job for this annotation

GitHub Actions / Vale

[vale] reported by reviewdog 🐶 [Openly.So] Don't start a sentence with 'so ' Raw Output: {"message": "[Openly.So] Don't start a sentence with 'so '", "location": {"path": "configuration/analytics.mdx", "range": {"start": {"line": 109, "column": 11}}}, "severity": "WARNING"}

```yaml
analytics:
storage:
prometheus:
headers:
"Authorization": "Bearer <token>"
```

Check failure on line 117 in configuration/analytics.mdx

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

0 comments on commit bb0e012

Please sign in to comment.