github.com/m3db/m3@v1.5.0/src/query/config/m3coordinator-prom-remote-template.yml (about)

     1  backend: prom-remote
     2  
     3  prometheusRemoteBackend:
     4    # Setup as many endpoints as you need.
     5    # You can start with a single endpoint without any storage policy. It will receive all metrics.
     6    # If you setup local or remote downsampling add endpoints with appropriate storage policies.
     7    endpoints:
     8      - name: raw
     9        address: "http://prometheus-raw:9090/api/v1/write"
    10      - name: aggregated
    11        address: "http://prometheus-agg:9090/api/v1/write"
    12        storagePolicy:
    13          retention: 1440h
    14          resolution: 1m
    15          downsample:
    16            all: true