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
prometheus: wal_directory: /tmp/wal global: scrape_interval: 5s configs: - name: integrations scrape_configs: - job_name: golang-integration static_configs: - targets: ['go:8080'] remote_write: - url: http://cortex:9009/api/prom/push
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.