While I know the pure_exporter is not full supported by prometheus I'm trying to find out if this is potentially a timeout issue.
Currently I have the pure_exporter set up using a docker container on RHEL 7.9.
# Job for all Pure Flasharrays
- job_name: 'pure_flasharray'
metrics_path: /metrics/flasharray
scrape_timeout: 1m
scrape_interval: 3m
relabel_configs:
# meta label of target address --> get parameter "pure_host"
- source_labels: [__address__]
target_label: __param_endpoint
# label of target api token --> get parameter "pure_apitoken"
- source_labels: [__pure_apitoken]
target_label: __param_apitoken
# display the pure host as the instance label
- source_labels: [__address__]
target_label: instance
# point the exporter to the scraping endpoint of the exporter
- target_label: __address__
replacement:
127.0.0.1:9491 # address of the exporter, in debug mode
# THIS NEEDS TO BE CHANGED TO YOUR ENVIRONMENT
file_sd_configs:
- files:
- '/etc/prometheus/pure_flasharray_targets.json'