Skip to content

emicklei/gcpmon

Repository files navigation

gcpmon

A Google Cloud Platform Monitoring inspector for (Stackdriver) metrics and tracing.

Go

If you are using contrib.go.opencensus.io/exporter/stackdriver then change the endpoint by setting options:

localOptions := []option.ClientOption{
	option.WithEndpoint("localhost:9443")}
...
stackdriver.Options{
		ProjectID:               "...",
		MonitoringClientOptions: localOptions,
		TraceClientOptions:      localOptions}    

self-signed certificate

Because GCP monitoring clients use TLS to connect to the Cloud Monitoring service, the emulator needs to operate using a self-signed certificate. Use the shell script in the test folder to create the certificates and add the CA to your root certificates and mark it as trusted. The name is "Example, INC".

About

Google Cloud Monitoring emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published