NAME

IO::K8s::PrometheusOperator::V1alpha1::EC2SDConfig - EC2SDConfig allow retrieving scrape targets from AWS EC2 instances.

VERSION

version 1.108

accessKey

accessKey defines the AWS API key.

enableHTTP2

enableHTTP2 defines whether to enable HTTP2. It requires Prometheus >= v2.41.0

filters

filters can be used optionally to filter the instance list by other criteria. Available filter criteria can be found here: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html Filter API documentation: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Filter.html It requires Prometheus >= v2.3.0

followRedirects

followRedirects defines whether HTTP requests follow HTTP 3xx redirects. It requires Prometheus >= v2.41.0

noProxy

noProxy defines a comma-separated string that can contain IPs, CIDR notation, domain names that should be excluded from proxying. IP and domain names can contain port numbers.

It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

port

port defines the port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule.

proxyConnectHeader

proxyConnectHeader optionally specifies headers to send to proxies during CONNECT requests.

It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

proxyFromEnvironment

proxyFromEnvironment defines whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).

It requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.

proxyUrl

proxyUrl defines the HTTP proxy server to use.

refreshInterval

refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.

region

region defines the AWS region.

roleARN

roleARN defines an alternative to using AWS API keys.

secretKey

secretKey defines the AWS API secret.

tlsConfig

tlsConfig defines the TLS configuration to connect to the EC2 API. It requires Prometheus >= v2.41.0

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004