github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/prom_remote_write_backend/m3coordinator.yml (about)

     1  listenAddress: 0.0.0.0:7201
     2  
     3  logging:
     4    level: info
     5  
     6  metrics:
     7    scope:
     8      prefix: "coordinator"
     9    prometheus:
    10      handlerPath: /metrics
    11      listenAddress: 0.0.0.0:7203 # until https://github.com/m3db/m3/issues/682 is resolved
    12    sanitization: prometheus
    13    samplingRate: 1.0
    14    extended: none
    15  
    16  backend: prom-remote
    17  
    18  prometheusRemoteBackend:
    19    endpoints:
    20      - name: raw
    21        address: "http://prometheusraw:9090/api/v1/write"
    22      - name: aggregated
    23        address: "http://prometheusagg:9090/api/v1/write"
    24        storagePolicy:
    25          retention: 1h
    26          resolution: 5s
    27          downsample:
    28            all: true
    29  
    30  clusterManagement:
    31    etcd:
    32      env: default_env
    33      zone: embedded
    34      service: m3db
    35      cacheDir: /var/lib/m3kv
    36      etcdClusters:
    37        - zone: embedded
    38          endpoints:
    39            - etcd01:2379
    40  
    41  tagOptions:
    42    idScheme: quoted
    43  
    44  downsample:
    45    rules:
    46      rollupRules:
    47        - name: "prom_remote_write_test_metric rolled up"
    48          filter: "__name__:prom_remote_write_test_metric"
    49          transforms:
    50            - transform:
    51                type: "Increase"
    52            - rollup:
    53                metricName: "prom_remote_write_test_metric_rolled_up"
    54                groupBy: []
    55                aggregations: ["Sum"]
    56            - transform:
    57                type: "Add"
    58          storagePolicies:
    59            - resolution: 5s
    60              retention: 1h
    61    matcher:
    62      requireNamespaceWatchOnInit: false
    63    remoteAggregator:
    64      client:
    65        type: m3msg
    66        m3msg:
    67          producer:
    68            writer:
    69              topicName: aggregator_ingest
    70              topicServiceOverride:
    71                zone: embedded
    72                environment: override_test_env
    73              placement:
    74                isStaged: true
    75              placementServiceOverride:
    76                namespaces:
    77                  placement: /placement
    78              connection:
    79                numConnections: 4
    80              messagePool:
    81                size: 16384
    82                watermark:
    83                  low: 0.2
    84                  high: 0.5
    85  
    86  ingest:
    87    ingester:
    88      workerPoolSize: 10000
    89      opPool:
    90        size: 10000
    91      retry:
    92        maxRetries: 3
    93        jitter: true
    94      logSampleRate: 0.01
    95    m3msg:
    96      server:
    97        listenAddress: "0.0.0.0:7507"
    98        retry:
    99          maxBackoff: 10s
   100          jitter: true
   101  
   102  storeMetricsType: true