Simpleprometheus Receiver
contrib
Maintainers: @fatsheep9146
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
Theprometheus_simple receiver is a wrapper around the prometheus
receiver.
Configuration
The following settings are required:endpoint(default =localhost:9090): The endpoint from which prometheus metrics should be scraped.
collection_interval(default =10s): The internal at which metrics should be emitted by this receiver.job_name(default =prometheus_simple/${endpoint}): Prometheus scrape job name.labels(default ={}): Static prometheus labels to assign to all metrics scraped from this endpoint.metrics_path(default =/metrics): The path to the metrics endpoint.params(default ={}): The query parameters to pass to the metrics endpoint. If specified, params are appended tometrics_pathto form the URL with which the target is scraped.use_service_account(default =false): Whether or not to use the Kubernetes Pod service account for authentication.tls_enabled(default =false): Whether or not to use TLS. Only iftls_enabledis set totrue, the values undertls_configare accounted for. This setting will be deprecated. Please usetlsinstead.
tls_config section supports the following options. This setting will be deprecated. Please use tls instead:
-
ca_file(no default): Path to the CA cert that has signed the TLS certificate. -
cert_file(no default): Path to the client TLS certificate to use for TLS required connections. -
key_file(no default): Path to the client TLS key to use for TLS required connections. -
insecure_skip_verify(default =false): Whether or not to skip certificate verification. -
tls: see TLS Configuration Settings for the full set of available options.
Configuration
Example Configuration
Last generated: 2026-04-13