You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: gdi/monitors-monitoring/telegraf.rst
+28-24Lines changed: 28 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,33 @@
1
1
.. _telegraf:
2
2
3
-
Telegraf
4
-
==================
3
+
Telegraf Exec (OpenTelemetry)
4
+
==============================
5
5
6
6
.. meta::
7
-
:description: Use this Splunk Observability Cloud integration for the telegraf monitor. See benefits, install, configuration, and metrics
7
+
:description: Use this Splunk Observability Cloud integration for the Telegraf monitor. See benefits, install, configuration, and metrics.
8
8
9
+
To monitor your system with Telegraf Exec using native OpenTelemetry, install the Telegraf plugin independently, then push metrics to the Splunk Opentelemetry Collector
10
+
via OTLP.
9
11
10
-
Instead of using The Splunk Distribution of the OpenTelemetry Collector's Smart Agent receiver with the
11
-
Telegraf monitor to scrape metrics, it is recommended to install Telegraf plugin independently, then push metrics to the Splunk Opentelemetry collector
12
-
via OTLP.
13
-
14
-
15
-
16
-
.. note:: All the setup was carried out on a Linux Ubuntu OS based machine but should be replicable on any machines running Linux OS with Debian flavor.
17
-
18
-
These instruction to install the telegraf plugin to scrape metrics on other OS (for e.g. MacOS/Windows) operating systems, have not been tested
19
-
out.
12
+
.. note:: This setup is designed for a Linux Ubuntu OS but should be replicable on any machines running Linux OS with Debian flavor. These instructions might not work on other OS (MacOS/Windows).
20
13
21
14
Benefits
22
15
--------
23
16
24
17
.. include:: /_includes/benefits.rst
25
18
26
-
Installation of Telegraf Plugin
19
+
Configuration
27
20
----------------------------------
28
21
22
+
Follow these steps to scrape Telegraf metrics with the OTel Collector:
After successful installation of telegraf above, you can add the following to your telegraf configuration file (usually the config file resides on
43
-
./etc/telegraf/telegraf.d directory)
44
-
46
+
Next, add the OTel Output plugin to your Telegraf configuration file:
45
47
48
+
.. code::
49
+
46
50
# Send OpenTelemetry metrics over gRPC
47
51
[[outputs.opentelemetry]]
48
-
49
-
For detailed information on the Telegraf Opentelemetry output plugin configuration, check https://github.com/influxdata/telegraf/blob/master/plugins/outputs/opentelemetry/README.md
50
52
51
-
Configuration
52
-
-------------
53
+
The config file usually resides on the ./etc/telegraf/telegraf.d directory.
53
54
54
-
To retrieve metrics from this telegraf installation running independently, the following Collector
55
-
configuration is sufficient:
55
+
For detailed information on the Telegraf Opentelemetry output plugin see the :new-page:`Exec Input Plugin <https://github.com/influxdata/telegraf/blob/master/plugins/outputs/opentelemetry/README.md>` documentation in GitHub.
0 commit comments