Joe Elliott c0127c78c3 Enable Cross Cluster Querying (#2598)
* ring -> ingesterRing

Signed-off-by: Joe Elliott <number101010@gmail.com>

* module cleanup

Signed-off-by: Joe Elliott <number101010@gmail.com>

* refactored ring creation code

Signed-off-by: Joe Elliott <number101010@gmail.com>

* readRing map

Signed-off-by: Joe Elliott <number101010@gmail.com>

* samesies

Signed-off-by: Joe Elliott <number101010@gmail.com>

* forGivenIngesters refactor

Signed-off-by: Joe Elliott <number101010@gmail.com>

* for each ingester set

Signed-off-by: Joe Elliott <number101010@gmail.com>

* async

Signed-off-by: Joe Elliott <number101010@gmail.com>

* re-add querier dep

Signed-off-by: Joe Elliott <number101010@gmail.com>

* wire up deps

Signed-off-by: Joe Elliott <number101010@gmail.com>

* add active-active example

Signed-off-by: Joe Elliott <number101010@gmail.com>

* cross cluster tests

Signed-off-by: Joe Elliott <number101010@gmail.com>

* comment

Signed-off-by: Joe Elliott <number101010@gmail.com>

* add generator override ring key

Signed-off-by: Joe Elliott <number101010@gmail.com>

* rename example

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* lint

Signed-off-by: Joe Elliott <number101010@gmail.com>

* fixed querier test

Signed-off-by: Joe Elliott <number101010@gmail.com>

* better names

Signed-off-by: Joe Elliott <number101010@gmail.com>

* fixed prom scrape

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
2023-06-30 11:11:06 -04:00

27 lines
718 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: [ 'localhost:9090' ]
- job_name: 'tempo'
static_configs:
- targets:
- 'compactor-a:3200'
- 'distributor-a:3200'
- 'ingester-0-a:3200'
- 'ingester-1-a:3200'
- 'ingester-2-a:3200'
- 'querier-a:3200'
- 'query-frontend-a:3200'
- 'metrics-generator-a:3200'
- 'compactor-a:3200'
- 'distributor-b:3200'
- 'ingester-0-b:3200'
- 'ingester-1-b:3200'
- 'ingester-2-b:3200'
- 'querier-b:3200'
- 'query-frontend-b:3200'
- 'metrics-generator-b:3200'