A Google Cloud Platform Monitoring inspector for (Stackdriver) metrics and tracing.
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}
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".