Stackdriver / collectd

Stackdriver's monitoring agent based on collectd (http://collectd.org).
https://cloud.google.com/monitoring/agent/
Other
51 stars 15 forks source link

Add a "Resource" config section to write_gcm. #200

Closed igorpeshansky closed 2 years ago

igorpeshansky commented 2 years ago

This would allow using the configuration to specify the exact monitored resource to send metrics against.

Example configuration would look like this:

<Plugin "write_gcm">
  <Resource "generic_node">
    location "europe-west1-b"
    namespace "my-namespace"
    node_id "12345"
  </Resource>
</Plugin>

Since this allows fully specifying the monitored resource, the previous options for partially specifying resource labels (CloudProvider, Instance, Zone, Region, Account) are effectively deprecated.