Hey there,
Question1:
How does prometheus internally store the metrics ? Is it possible to view the same (not in prometheus UI). Just like we can view influx Time Series Data Base, is it possible to view the Prometheus DB ? Does prometheus have any structure of storing data like, databases and measurements in influx ?
Question 2:
Currently, I have my targets configured like this:
scrape_configs:
- job_name: 'job1'
metrics_path: /job1/metrics
static_configs:
- targets: ['<ip1>:<port1>']
labels:
vmid: vm1
- job_name: 'job2'
metrics_path: /job2/metrics
static_configs:
- targets: ['<ip2>:<port2>']
labels:
vmid: vm2
In the metrics obtained from targets, we can query anything based on job, for example: kube_pod_container_info{job="<job-name>"},
wouldn't it be efficient to have Database sort of a thing?
Please excuse me, as I am not aware of internally how prometheus interaction with Time Series Data base works.
Thanks,
Guna