#datacenter id is different
1 messages · Page 1 of 1 (latest)
@unkempt gull That should not happen. Could you share output of bin/harvest doctor --print and also the sample of metrics where datacenter is changing
which collector are you using?
ZAPI
and output of bin/harvest doctor --print
/opt/harvest # bin/harvest doctor --print
Admin:
Tools:
Exporters:
prometheus:
exporter: Prometheus
local_http_addr: 0.0.0.0
port: 12990
prometheus1:
exporter: Prometheus
port_range: 13000-14000
Defaults:
collectors:
- Zapi
- ZapiPerf
- Ems
use_insecure_tls: false
Pollers:
unix:
datacenter: local
addr: -REDACTED-
collectors:
- Unix
exporters:
- prometheus
the o/p is the from the harvest pod
okay. Checking on my side
hmm i don't think if raw_capacity is a metric we expose by default. Have you made any changes to disk template?
yes I did
okay could you share
`
name: Disk
query: storage-disk-get-iter
object: disk
counters:
storage-disk-info:
- ^^disk-uid
- ^^disk-name => disk
- disk-inventory-info:
- bytes-per-sector => bytes_per_sector
- right-size-sectors => right_size_sectors
- disk-ownership-info:
- ^home-node-name => node
- ^owner-node-name => owner_node
plugins:
- MetricAgent:
compute_metric:
- raw_capacity MULTIPLY storage-disk-info.disk-inventory-info.bytes-per-sector storage-disk-info.disk-inventory-info.right-size-sectors
export_options:
instance_keys:
- node
- disk
instance_labels:
- owner_node
`
I don't see your poller in shared harvest.yml
#1047121984342982747 message
Could you share the correct config
okay i suspect you may have multiple pods running with different datacenter name pointing to same cluster. datacenter field is running just fine for me.