Good catch my friend.

We were not scraping prometheus itself. i added the localhost:9090 as 
target and i have my metrics !

Thanks again.

Le vendredi 17 février 2023 à 14:50:44 UTC+1, Morgan WAHBI a écrit :

> Hi !
>
> Thanks for quick answer i will check the targets and come back here ! ty
>
> Le vendredi 17 février 2023 à 14:40:22 UTC+1, sayf eddine Hammemi a écrit :
>
>> Prometheus does not implement any multi-tenancy to prevent you from 
>> accessing such metrics, you are in one of the following case
>> - Prometheus is not scraping itself (meta monitoring), in that case you 
>> need to add prometheus as target
>> - These metrics are intentionally dropped in the prometheus configuration
>> - You have another system on top of Prometheus that is applying access 
>> policies
>>
>> The first one is the most probable
>>
>> On Fri, Feb 17, 2023 at 2:02 PM 'Morgan WAHBI' via Prometheus Users <
>> [email protected]> wrote:
>>
>>> Hi guys,
>>>
>>> on the prometheus server's of my company i can't access to the metrics 
>>> to estimate the disk used for a month
>>>
>>> so i can't access all prometheus_tsdb_* like
>>>
>>> prometheus_tsdb_head_samples_appended_total
>>>
>>> i was trying this command
>>> 2592000* (rate(prometheus_tsdb_head_samples_appended_total[1d]) *
>>> (rate(prometheus_tsdb_compaction_chunk_size_bytes_sum[1d]) / 
>>> rate(prometheus_tsdb_compaction_chunk_samples_sum[1d])))
>>>
>>> I precise that im not admin of the platform maybe this metrics are 
>>> available just when you are admin? 
>>>
>>> If you have any idea, im interested to dive in
>>>
>>> Ty
>>> morgan
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Prometheus Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/prometheus-users/663266ea-fe64-4871-a63e-0538eacd001en%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/prometheus-users/663266ea-fe64-4871-a63e-0538eacd001en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/5ce545c9-e8d5-4d96-ac15-13c2f4f1a913n%40googlegroups.com.

Reply via email to