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

     1  listenAddress: 0.0.0.0:7202
     2  
     3  carbon:
     4    ingester:
     5      listenAddress: "0.0.0.0:7204"
     6      rules:
     7        - pattern: .*
     8          aggregation:
     9            type: mean
    10          policies:
    11            - resolution: 10s
    12              retention: 6h
    13  
    14  clusters:
    15    - client:
    16        config:
    17          service:
    18            env: default_env
    19            zone: embedded
    20            service: m3db
    21            cacheDir: /var/lib/m3kv
    22            etcdClusters:
    23              - zone: embedded
    24                endpoints:
    25                  - dbnode01:2379
    26  
    27  downsample:
    28    rules:
    29      rollupRules:
    30        - name: "requests per second by status code"
    31          filter: "__name__:http_requests app:* status_code:* endpoint:*"
    32          transforms:
    33            - transform:
    34                type: "PerSecond"
    35            - rollup:
    36                metricName: "http_requests_by_status_code"
    37                groupBy: ["app", "status_code", "endpoint"]
    38                aggregations: ["Sum"]
    39          storagePolicies:
    40            - resolution: 10s
    41              retention: 6h
    42    remoteAggregator:
    43      client:
    44        type: m3msg
    45        m3msg:
    46          producer:
    47            writer:
    48              topicName: aggregator_ingest
    49              topicServiceOverride:
    50                zone: embedded
    51                environment: override_test_env
    52              placement:
    53                isStaged: true
    54              placementServiceOverride:
    55                namespaces:
    56                  placement: /placement
    57              connection:
    58                numConnections: 4
    59              messagePool:
    60                size: 16384
    61                watermark:
    62                  low: 0.2
    63                  high: 0.5
    64  
    65  ingest:
    66    ingester:
    67      workerPoolSize: 10000
    68      opPool:
    69        size: 10000
    70      retry:
    71        maxRetries: 3
    72        jitter: true
    73      logSampleRate: 0.01
    74    m3msg:
    75      server:
    76        listenAddress: "0.0.0.0:7507"
    77        retry:
    78          maxBackoff: 10s
    79          jitter: true
    80  
    81  storeMetricsType: true