Skip to content

Commit

Permalink
Add basic documentation for the prometheus exporter (#2582)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg authored Oct 12, 2022
1 parent 1a81ffc commit f6d24ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions runatlantis.io/docs/server-side-repo-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,13 +459,20 @@ If you set a workflow with the key `default`, it will override this.

### Metrics

| Key | Type | Default | Required | Description |
|------------------------|-------------------|---------|-----------|------------------------------------------|
| statsd | [Statsd](#statsd) | none | no | Statsd metrics provider |
| Key | Type | Default | Required | Description |
|------------------------|---------------------------|---------|-----------|------------------------------------------|
| statsd | [Statsd](#statsd) | none | no | Statsd metrics provider |
| prometheus | [Prometheus](#prometheus) | none | no | Statsd metrics provider |

### Statsd

| Key | Type | Default | Required | Description |
| ------ | ------ | ------- | -------- | -------------------------------------- |
| host | string | none | yes | statsd host ip address |
| port | string | none | yes | statsd port |

### Prometheus

| Key | Type | Default | Required | Description |
| -------- | ------ | ------- | -------- | -------------------------------------- |
| endpoint | string | none | yes | path to metrics endpoint |
2 changes: 1 addition & 1 deletion runatlantis.io/docs/stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Atlantis exposes a set of metrics for each of its operations including errors, successes, and latencies.

::: warning NOTE
Only statsd is supported currently, but it should be relatively straightforward to add other providers such as prometheus.
Currently Statsd and Prometheus is supported. See configuration below for details.
:::

## Configuration
Expand Down

0 comments on commit f6d24ee

Please sign in to comment.