]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
write_open_telemetry plugin: Document configuration options.
authorFlorian Forster <octo@collectd.org>
Mon, 4 Dec 2023 16:20:23 +0000 (17:20 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 3 Jan 2024 16:16:28 +0000 (17:16 +0100)
src/collectd.conf.in
src/collectd.conf.pod

index 8b7fa7987d0bc8a131759d5147aff17a831e03e5..d3be6a86c6280c76388aae753334f28a0ff82320 100644 (file)
 #      </Node>
 #</Plugin>
 
+#<Plugin write_open_telemetry>
+#  <Node "example">
+#    Host "localhost"
+#    Port "4317"
+#  </Node>
+#</Plugin>
+
 #<Plugin write_prometheus>
 #      Port "9103"
 #</Plugin>
index edf82ec96318fab0c0ae1c1e7b4f4a53d149e8df..226addebfe4c71348f9d59f82e1bc7cc74189dab 100644 (file)
@@ -11138,6 +11138,35 @@ want to use authentication all three fields must be set.
 
 =back
 
+=head2 Plugin C<write_open_telemetry>
+
+The I<write_open_telemetry plugin> will export metrics to an I<OpenTelemetry
+collector> using the gRPC based OTLP protocol.
+
+B<Synopsis:>
+
+ <Plugin "write_open_telemetry">
+   <Node "default">
+     Host "localhost"
+     Port "4317"
+   </Node>
+ </Plugin>
+
+The plugin can export metrics to multiple collectord by specifying multiple
+B<Node> blocks. Within the B<Node> blocks, the following options are available:
+
+=over 4
+
+=item B<Host> I<Address>
+
+Hostname or address to connect to. Defaults to C<localhost>.
+
+=item B<Port> I<Service>
+
+Service name or port number to connect to. Defaults to C<4317>.
+
+=back
+
 =head2 Plugin C<write_prometheus>
 
 The I<write_prometheus plugin> implements a tiny webserver that can be scraped