github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/cmd/services/m3query/config/testdata/config.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  http:
    17    enableH2C: true
    18  
    19  clusters:
    20    - namespaces:
    21        - namespace: default
    22          type: unaggregated
    23          retention: 48h
    24      client:
    25        config:
    26          service:
    27            env: default_env
    28            zone: embedded
    29            service: m3db
    30            cacheDir: /var/lib/m3kv
    31            etcdClusters:
    32              - zone: embedded
    33                endpoints:
    34                  - 127.0.0.1:2379
    35          seedNodes:
    36            initialCluster:
    37              - hostID: m3db_local
    38                endpoint: http://127.0.0.1:2380
    39        writeConsistencyLevel: majority
    40        readConsistencyLevel: unstrict_majority
    41        writeTimeout: 10s
    42        fetchTimeout: 15s
    43        connectTimeout: 20s
    44        writeRetry:
    45          initialBackoff: 500ms
    46          backoffFactor: 3
    47          maxRetries: 2
    48          jitter: true
    49        fetchRetry:
    50          initialBackoff: 500ms
    51          backoffFactor: 2
    52          maxRetries: 3
    53          jitter: true
    54        backgroundHealthCheckFailLimit: 4
    55        backgroundHealthCheckFailThrottleFactor: 0.5
    56  
    57  limits:
    58    perQuery:
    59      maxFetchedSeries: 12000
    60      maxFetchedDocs: 11000
    61      requireExhaustive: true
    62  
    63  query:
    64    prometheus:
    65      convert:
    66        resolutionThresholdForCounterNormalization: 10m
    67        valueDecreaseTolerance: 0.0000000001
    68        valueDecreaseToleranceUntil: 2022-01-01T00:00:00Z