Grafana Cloud

Go programming language integration for Grafana Cloud

The Go Programming Language (golang) is a programming language designed at Google to make programmers more productive in applications with strong networking concurrency needs. The Go programming language integration enables the Grafana Agent to send metrics to Grafana Cloud. The integration also creates a useful default dashboard for visualization of golang metrics within Grafana Cloud.

This integration monitors the Go runtime for a process that exposes metrics through client_golang.

Use the walkthrough in Grafana Cloud to install the Go programming language integration.

Post-install configuration for the Go programming language integration

In the agent configuration file, the agent must be pointed to the running Go application, such as ‘go:8080’ in the example below, that exposes the /metrics endpoint with the client_golang library.

  wal_directory: /tmp/wal
    scrape_interval: 5s
    - name: integrations
        - job_name: golang-integration
            - targets: ['go:8080']
        - url: http://cortex:9009/api/prom/push