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

Commit a93b43b

Browse files
author
Marty Berryman
committed
updated based on comments
1 parent 726c2dd commit a93b43b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

jekyll/_cci2/monitoring.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,22 @@ After saving you can *verify* that metrics are forwarding by going to the DataDo
7979

8080
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.
8181

82+
![Custom]( {{ site.baseurl }}/assets/img/docs/metrics-custom.png)
83+
8284
##### Configuration
8385

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

8688
For example, if you would like to use the InfluxDB Output Plugin you would need to follow these steps;
8789
1. SSH into the Servics Machine
88-
2. cd `/etc/circleconfig/telegraf/influxdb.conf
89-
3. Adding the desired ouputs, e.g. ```
90+
2. cd `/etc/circleconfig/telegraf/influxdb.conf`
91+
3. Adding the desired ouputs, for example
92+
```
9093
[[output.influxdb]]
9194
url = "http://52.67.66.155:8086"
9295
database = "testdb"
93-
'''
94-
4. `docker restart telegraf` to restart the container to load or reload any changes.
96+
```
97+
4. Run `docker restart telegraf` to restart the container to load or reload any changes.
9598

9699
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.
97100

0 commit comments

Comments
 (0)