collectd.conf: Improve example configs.
authorFlorian Forster <octo@collectd.org>
Sat, 20 Jun 2015 06:53:24 +0000 (08:53 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 4 Oct 2018 19:14:36 +0000 (21:14 +0200)
src/collectd.conf.in
src/collectd.conf.pod

index 8880904..6a09643 100644 (file)
 #</Plugin>
 
 #<Plugin write_gcm>
-#  Project "gcp-project-id"
+#  Project "stackdriver-account"
 #  CredentialFile "/path/to/gcp-project-id-12345.json"
 #  Email "123456789012@developer.gserviceaccount.com"
 #  <Resource "global">
 #    project_id "gcp-project-id"
 #  </Resource>
-#  Url "https://www.googleapis.com/cloudmonitoring/v2beta2"
+#  Url "https://monitoring.googleapis.com/v3"
 #</Plugin>
 
 #<Plugin write_graphite>
index 667e488..e293d49 100644 (file)
@@ -9351,7 +9351,10 @@ I<metadata server> and used to authenticate to GCM.
 B<Synopsis:>
 
  <Plugin write_gcm>
-   Project "123456789012"
+   CredentialFile "/path/to/service_account.json"
+   <Resource "global">
+     project_id "monitored_project"
+   </Resource>
  </Plugin>
 
 =over 4