Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit 726c2dd

Browse files
author
Marty Berryman
committed
CIRCLE-12738 update to monitoring doc to explain changes for Telegraf custom
1 parent 3510ed8 commit 726c2dd

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

jekyll/_cci2/monitoring.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,25 @@ Enter your DataDog API Key.
7575

7676
After saving you can *verify* that metrics are forwarding by going to the DataDog metrics summary.
7777

78-
#### Custom Metrics *(beta)*
78+
#### Custom Metrics
7979

80-
A beta feature is to configure Telegraf by going to Replicated Admin > Settings > Custom Metrics and enabling the custom option, for example `https://example.com:8800/settings#custom_metrics`.
81-
82-
![Custom]( {{ site.baseurl }}/assets/img/docs/metrics_custom1.png)
80+
Custom Metrics via Telegraf configuration file is an alternative to the predefined CloudWatch and Datadog metric sections above. It can also be used instead of those sections for more fine grained control.
8381

8482
##### Configuration
8583

8684
Configuration options are based on Telegraf's documented output plugins. See their documentation [here](https://github.com/influxdata/telegraf#output-plugins).
8785

88-
For example, if you would like to use the InfluxDB Output Plugin the configuration would look like the following.
89-
90-
![Custom]( {{ site.baseurl }}/assets/img/docs/metrics_custom2.png)
86+
For example, if you would like to use the InfluxDB Output Plugin you would need to follow these steps;
87+
1. SSH into the Servics Machine
88+
2. cd `/etc/circleconfig/telegraf/influxdb.conf
89+
3. Adding the desired ouputs, e.g. ```
90+
[[output.influxdb]]
91+
url = "http://52.67.66.155:8086"
92+
database = "testdb"
93+
'''
94+
4. `docker restart telegraf` to restart the container to load or reload any changes.
95+
96+
You may check the logs by running `docker logs -f telegraf` to confirm your output provider (e.g. influx) is listed in the configured outputs.
9197

9298
Additionally, if you would like to ensure that all metrics in an installation are tagged against an environment you could place the following code in your config:
9399
```
44.3 KB
Loading
-9.31 KB
Binary file not shown.
-19.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)