Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
monitoring
✓ cloud.google.com/go/monitoring/apiv3
Create a Cloud Monitoring Metric client.
package main
import (
"context"
"fmt"
monitoring "cloud.google.com/go/monitoring/apiv3"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
client, err := monitoring.NewMetricClient(ctx)
if err != nil {
panic(err)
}
defer client.Close()
fmt.Println("Client created")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.25.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.