Grafana Cloud Monitor infrastructure Grafana Agent Static mode Configure static mode integrations_config squid_config
Full reference of options:
# Enables the Squid integration, allowing the Agent to automatically # collect metrics for the specified Squid instance. [enabled: <boolean> | default = false] # Sets an explicit value for the instance label when the integration is # self-scraped. Overrides inferred values. # # The default value for this integration is the configured host:port of the connection string. [instance: <string>] # Automatically collect metrics from this integration. If disabled, # the Squid integration is run but not scraped and thus not # remote-written. Metrics for the integration are exposed at # /integrations/squid/metrics and can be scraped by an external # process. [scrape_integration: <boolean> | default = <integrations_config.scrape_integrations>] # How often should the metrics be collected? Defaults to # prometheus.global.scrape_interval. [scrape_interval: <duration> | default = <global_config.scrape_interval>] # The timeout before considering the scrape a failure. Defaults to # prometheus.global.scrape_timeout. [scrape_timeout: <duration> | default = <global_config.scrape_timeout>] # Allows for relabeling labels on the target. relabel_configs: [- <relabel_config> ... ] # Relabel metrics coming from the integration, lets you drop series # that you don't care about from the integration. metric_relabel_configs: [ - <relabel_config> ... ] # How frequently the WAL is truncated for this integration. [wal_truncate_frequency: <duration> | default = "60m"] # # Exporter-specific configuration options # # The address used to connect to the Squid instance in the format # of <HOST>:<PORT>. # i.e. "localhost:3128" [address: <string>] # The username for squid instance. [username: <string>] # The password for username above. [password: <string>]
integrations: squid: enabled: true address: localhost:3128 scrape_interval: 1m scrape_timeout: 1m scrape_integration: true metrics: wal_directory: /tmp/grafana-agent-wal server: log_level: debug
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Getting started with your metrics, logs, and traces in Grafana Cloud
Learn to use the best open source observability software (Grafana, Prometheus, Loki, and Tempo) without the overhead of managing and scaling your own stack.
Kubernetes monitoring, out-of-the-box with Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.