Thanks a lot for answer. Yes, prometheus operator. But how i can modify 
that and add targets? I mean i try to edit oc edit servicemonitor 
prometheus -n openshift-monitoring, but i cant see targets section. 
Documentation describe many different ways like edit secret, edit basic 
config file, edit servicemonitor and etc. and i just try to find my initial 
config. 

вторник, 13 июля 2021 г. в 17:44:22 UTC+3, [email protected]: 

> Hey Andy,
>
> I'm going to assume that you are deploying Prometheus via the 
> prometheus-operator? If so, you shouldn't need to modify the configuration 
> file directly, as this will be managed via the Prometheus operator CRDs 
> themselves (i.e. Prometheus, ServiceMonitor etc.)
>
> For Prometheus-operator questions, please reach out to that community 
> directly.
>
> Best,
>
> Ian
>
> On Tue, Jul 13, 2021 at 12:08 PM Andy Andy <[email protected]> wrote:
>
>> Hi everyone. Well, i deploy Prometheus on my Openshift cluster, but now I 
>> don't know how can i modify config file. Prometheus.yaml and 
>> prometheus.env.yaml is read-only and mounted as volume. And i try to look 
>> events at config reloaded and i got this: 
>>
>>
>>
>>
>>
>>
>>
>>
>> *     command: - /bin/prometheus-config-reloader args: - 
>> '--listen-address=localhost:8080' - 
>> '--reload-url=http://localhost:9090/-/reload 
>> <http://localhost:9090/-/reload>' - 
>> '--config-file=/etc/prometheus/config/prometheus.yaml.gz' - >- 
>> --config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml - 
>> '--watched-dir=/etc/prometheus/rules/prometheus-k8s-rulefiles-0'*
>> And i dont know what i should do. Can someone help? Thank a lot. 
>>
>> -- 
>> 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/4f56e2b4-bb77-4fe1-a162-cd77915f9d30n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/4f56e2b4-bb77-4fe1-a162-cd77915f9d30n%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/3265c641-0e87-4044-a85a-811d910d7806n%40googlegroups.com.

Reply via email to