Configuration options for add-on.

interface AmpAddOnProps {
    ampPrometheusEndpoint: string;
    ampRules?: AmpRules;
    deploymentMode?: DeploymentMode;
    enableAPIServerJob?: boolean;
    name?: string;
    namespace?: string;
    openTelemetryCollector?: OpenTelemetryCollector;
}

Properties

ampPrometheusEndpoint: string

Remote Write URL of the AMP Workspace to be used for setting up remote write. Format : https://aps-workspaces..amazonaws.com/workspaces//",

ampRules?: AmpRules

AMP rules providing AMP workspace ARN and paths to files encoding recording and/or alerting rules following the same format as a rules file in standalone Prometheus. This parameter is optional and if not provided, no rules will be applied.

deploymentMode?: DeploymentMode

Modes supported : deployment, daemonset, statefulSet, and sidecar

deployment
enableAPIServerJob?: boolean

Enable "apiserver" job in the Prometheus configuration of the default OpenTelemetryCollector.

false
name?: string

Name for deployment of the ADOT Collector for AMP.

'adot-collector-amp'
namespace?: string

Namespace to deploy the ADOT Collector for AMP.

default
openTelemetryCollector?: OpenTelemetryCollector

An alternative OpenTelemetryCollector if you need further customisation. If you need to configure rules, please do not use the rule_files field like in standalone Prometheus, but rather use the ampRules parameter. If not provided, the default will be used.