Difference between revisions of "Plugin:Write Prometheus"

From collectd Wiki
Jump to: navigation, search
m (Removed {{Callback|missing}} category/template tag)
(Add LoadPlugin write_prometheus to the exemple for easy user onboarding)
 
Line 13: Line 13:
 
== Synopsis ==
 
== Synopsis ==
  
 +
LoadPlugin write_prometheus
 +
 
  <Plugin "write_prometheus">
 
  <Plugin "write_prometheus">
 
   Port "9103"
 
   Port "9103"

Latest revision as of 10:57, 26 January 2021

Write Prometheus plugin
Type: write
Callbacks: config, init, write, shutdown
Status: supported
First version: 5.7
Copyright: 2016 Florian octo Forster
License: MIT license
Manpage: collectd.conf(5)
List of Plugins

The Write Prometheus plugin starts an internal webserver on port 9103 (configurable) and accepts scrape requests from Prometheus, an open-source monitoring system. This plugin is similar in scope to the collectd_exporter written by the Prometheus team and uses the same naming schema so it can be used as a drop-in alternative.

Synopsis

LoadPlugin write_prometheus

<Plugin "write_prometheus">
  Port "9103"
</Plugin>

Dependencies

See also