Try using Grot AI Grot AI for this query ->
Promo banner icon

What’s new: Grafana 13 release, the latest in AI, OSS project updates, and more from GrafanaCON2026

Learn more
DownloadsContact Us
Logo
  • Pricing
  • Docs
Sign inSign up
Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt

Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.

STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/alloy/v1.2/reference/components/discovery.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/alloy/v1.2/reference/components/discovery/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.

Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Documentationbreadcrumb arrow Grafana Alloybreadcrumb arrow Referencebreadcrumb arrow Componentsbreadcrumb arrow discovery
Open source

discovery

This section contains reference documentation for the discovery components.

  • discovery.azure
  • discovery.consul
  • discovery.consulagent
  • discovery.digitalocean
  • discovery.dns
  • discovery.docker
  • discovery.dockerswarm
  • discovery.ec2
  • discovery.eureka
  • discovery.file
  • discovery.gce
  • discovery.hetzner
  • discovery.http
  • discovery.ionos
  • discovery.kubelet
  • discovery.kubernetes
  • discovery.kuma
  • discovery.lightsail
  • discovery.linode
  • discovery.marathon
  • discovery.nerve
  • discovery.nomad
  • discovery.openstack
  • discovery.ovhcloud
  • discovery.process
  • discovery.puppetdb
  • discovery.relabel
  • discovery.scaleway
  • discovery.serverset
  • discovery.triton
  • discovery.uyuni

Was this page helpful?

Suggest an edit in GitHub
Create a GitHub issue
Email docs@grafana.com
Help and support
Community
Technical documentation Plugin catalog
Choose a product
Viewing: v1.2 Find another version
  • Grafana Alloy
  • Introduction
    • Supported platforms
    • Estimate resource usage
    • Release cadence
    • Backward compatibility
  • Get started
    • Configuration syntax
      • Configuration files
      • Configure components
      • Expressions
        • Types and values
        • Referencing component exports
        • Operators
        • Function calls
      • Syntax
    • Components
    • Component controller
    • Custom components
    • Modules
    • Clustering
  • Set up
    • Install
      • Docker
      • Kubernetes
      • Linux
      • macOS
      • Windows
      • Ansible
      • Chef
      • Puppet
      • Standalone
    • Migrate
      • Migrate from Agent Static
      • Migrate from Agent Operator
      • Migrate from Agent Flow
      • Migrate from OpenTelemetry Collector
      • Migrate from Prometheus
      • Migrate from Promtail
    • Run
      • Linux
      • macOS
      • Windows
      • Standalone
    • Deploy
  • Configure
    • Clustering
      • Distribute metrics scrape load
    • Kubernetes
    • Linux
    • macOS
    • Windows
    • Non-root user
  • Collect and forward data
    • Choose a component
    • Collect Alloy telemetry
    • Collect Datadog traces and metrics
    • Collect Kubernetes logs
    • Collect Prometheus metrics
    • Collect OpenTelemetry data
    • Collect OpenTelemetry data and forward to Grafana
  • Tutorials
    • Send logs to Loki
    • Send metrics to Prometheus
    • First components and the standard library
    • Logs and relabeling basics
    • Processing Logs
  • Troubleshoot
    • Monitor the controller
    • Monitor components
    • Profile resource consumption
    • Debug
  • Reference
    • Command-line interface
      • convert
      • fmt
      • run
      • tools
      • Environment variables
    • Configuration blocks
      • argument
      • declare
      • export
      • http
      • import.file
      • import.git
      • import.http
      • import.string
      • livedebugging
      • logging
      • remotecfg
      • tracing
    • Components
      • beyla
        • beyla.ebpf
      • discovery
        • discovery.azure
        • discovery.consul
        • discovery.consulagent
        • discovery.digitalocean
        • discovery.dns
        • discovery.docker
        • discovery.dockerswarm
        • discovery.ec2
        • discovery.eureka
        • discovery.file
        • discovery.gce
        • discovery.hetzner
        • discovery.http
        • discovery.ionos
        • discovery.kubelet
        • discovery.kubernetes
        • discovery.kuma
        • discovery.lightsail
        • discovery.linode
        • discovery.marathon
        • discovery.nerve
        • discovery.nomad
        • discovery.openstack
        • discovery.ovhcloud
        • discovery.process
        • discovery.puppetdb
        • discovery.relabel
        • discovery.scaleway
        • discovery.serverset
        • discovery.triton
        • discovery.uyuni
      • faro
        • faro.receiver
      • local
        • local.file
        • local.file_match
      • loki
        • loki.echo
        • loki.process
        • loki.relabel
        • loki.rules.kubernetes
        • loki.source.api
        • loki.source.awsfirehose
        • loki.source.azure_event_hubs
        • loki.source.cloudflare
        • loki.source.docker
        • loki.source.file
        • loki.source.gcplog
        • loki.source.gelf
        • loki.source.heroku
        • loki.source.journal
        • loki.source.kafka
        • loki.source.kubernetes
        • loki.source.kubernetes_events
        • loki.source.podlogs
        • loki.source.syslog
        • loki.source.windowsevent
        • loki.write
      • mimir
        • mimir.rules.kubernetes
      • otelcol
        • otelcol.auth.basic
        • otelcol.auth.bearer
        • otelcol.auth.headers
        • otelcol.auth.oauth2
        • otelcol.auth.sigv4
        • otelcol.connector.host_info
        • otelcol.connector.servicegraph
        • otelcol.connector.spanlogs
        • otelcol.connector.spanmetrics
        • otelcol.exporter.awss3
        • otelcol.exporter.kafka
        • otelcol.exporter.loadbalancing
        • otelcol.exporter.logging
        • otelcol.exporter.loki
        • otelcol.exporter.otlp
        • otelcol.exporter.otlphttp
        • otelcol.exporter.prometheus
        • otelcol.extension.jaeger_remote_sampling
        • otelcol.processor.attributes
        • otelcol.processor.batch
        • otelcol.processor.deltatocumulative
        • otelcol.processor.discovery
        • otelcol.processor.filter
        • otelcol.processor.k8sattributes
        • otelcol.processor.memory_limiter
        • otelcol.processor.probabilistic_sampler
        • otelcol.processor.resourcedetection
        • otelcol.processor.span
        • otelcol.processor.tail_sampling
        • otelcol.processor.transform
        • otelcol.receiver.datadog
        • otelcol.receiver.file_stats
        • otelcol.receiver.jaeger
        • otelcol.receiver.kafka
        • otelcol.receiver.loki
        • otelcol.receiver.opencensus
        • otelcol.receiver.otlp
        • otelcol.receiver.prometheus
        • otelcol.receiver.vcenter
        • otelcol.receiver.zipkin
      • prometheus
        • prometheus.exporter.apache
        • prometheus.exporter.azure
        • prometheus.exporter.blackbox
        • prometheus.exporter.cadvisor
        • prometheus.exporter.cloudwatch
        • prometheus.exporter.consul
        • prometheus.exporter.dnsmasq
        • prometheus.exporter.elasticsearch
        • prometheus.exporter.gcp
        • prometheus.exporter.github
        • prometheus.exporter.kafka
        • prometheus.exporter.memcached
        • prometheus.exporter.mongodb
        • prometheus.exporter.mssql
        • prometheus.exporter.mysql
        • prometheus.exporter.oracledb
        • prometheus.exporter.postgres
        • prometheus.exporter.process
        • prometheus.exporter.redis
        • prometheus.exporter.self
        • prometheus.exporter.snmp
        • prometheus.exporter.snowflake
        • prometheus.exporter.squid
        • prometheus.exporter.statsd
        • prometheus.exporter.unix
        • prometheus.exporter.windows
        • prometheus.operator.podmonitors
        • prometheus.operator.probes
        • prometheus.operator.servicemonitors
        • prometheus.receive_http
        • prometheus.relabel
        • prometheus.remote_write
        • prometheus.scrape
      • pyroscope
        • pyroscope.ebpf
        • pyroscope.java
        • pyroscope.scrape
        • pyroscope.write
      • remote
        • remote.http
        • remote.kubernetes.configmap
        • remote.kubernetes.secret
        • remote.s3
        • remote.vault
    • Compatible components
    • Standard library
      • base64_decode
      • coalesce
      • concat
      • constants
      • env
      • format
      • join
      • json_decode
      • json_path
      • nonsensitive
      • replace
      • split
      • to_lower
      • to_upper
      • trim
      • trim_prefix
      • trim_space
      • trim_suffix
      • yaml_decode
  • Data collection
  • Release notes
Scroll for more
Read this in Grafana Cloud

Is this page helpful?

Still have questions?

Ask your questions. Let AI do the heavy lifting.

Ask AI icon
Newsletter icon

Get every update

Subscribe to our newsletter

By submitting, you agree to our Privacy policy

Grafana Cloud

  • Overview
  • Pricing
  • What's in the free tier?
  • AI Assistant
  • Application Observability
  • Kubernetes Monitoring
  • Dashboards & Visualization
  • Database Observability
  • Frontend Observability
  • Synthetic Monitoring
  • Performance & Load Testing
  • Incident Response & Management
  • What’s New
  • Grafana Cloud Status

Solutions

  • AI Observability
  • Full-Stack Observability
  • Infrastructure & Cloud Observability
  • Digital Experience Monitoring
  • Scaled Prometheus
  • Cost Management & Optimization
  • Site Reliability
  • Log Management
  • Migrate to OpenTelemetry

Integrations

  • All Integrations
  • All Plugins
  • AWS
  • Google Cloud
  • Microsoft Azure
  • Kubernetes
  • Datadog
  • New Relic

Open Source

  • Our Projects
  • GitHub
  • Downloads
  • Dashboard Templates

Learn

  • Documentation
  • Blog
  • Community
  • Events
  • Observability Survey & Reports

Company

  • About Grafana Labs
  • Careers
  • Partnerships
  • Newsroom
  • Success Stories
  • Contact Us
  • Getting Help
  • Professional Services
  • Hey AI

Compare

  • Datadog vs. Grafana Cloud
  • Dynatrace vs. Grafana Cloud
  • Elasticsearch vs. Grafana Cloud
  • New Relic vs. Grafana Cloud
  • PagerDuty vs. Grafana Cloud
  • Splunk vs. Grafana Cloud
Grafana Labs x unique logomark

Donut take our word for it. Try Grafana Cloud today.

Grafana Cloud StatusLegal & SecurityTerms of ServicePrivacy PolicyTrademark Policy

Copyright 2026 © Grafana Labs

FacebookXLinkedinGithubYoutubeReddit
Grafana Labs uses cookies for the normal operation of this website. Learn more.