Ian, if you're referring to the default Prometheus that ships with
Openshift (inside the openshift-monitoring namespace), the scrape config
for that is controlled by the Cluster Monitoring Operator and only has
limited customization options. The Openshift documentation details what
options are available here:
https://docs.openshift.com/container-platform/4.6/monitoring/configuring-the-monitoring-stack.html#preparing-to-configure-the-monitoring-stack.
If you can clarify what you're trying to modify in the scrape config, I may
be able to answer whether it's possible or not.

On Thu, Jul 29, 2021 at 10:25 AM Ian Billett <[email protected]> wrote:

> Hey Andy Andy,
>
> Sounds like your issue lies somewhere between the prometheus-operator and
> OpenShift - I'm afraid that this mailing list is focused on the Prometheus
> server itself so you would be very lucky to find someone with the answer
> here :)
>
> Best,
>
> Ian
>
> On Tue, Jul 27, 2021 at 3:44 PM Andy Andy <[email protected]> wrote:
>
>> Hello. I got some troubles with scrape config. Well, i got openshift
>> cluster with Prometheus. When i use command *oc edit prometheus* to add
>> some scrape config its okay next few minutes, but after that, something
>> reset my prometheus conf and its still be like original, until my
>> additions. What is that and how can i change configuration?
>>
>>
>>
>>
>> --
>> 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/83dd19be-729d-4491-93f6-b7ee61490cf2n%40googlegroups.com
>> <https://groups.google.com/d/msgid/prometheus-users/83dd19be-729d-4491-93f6-b7ee61490cf2n%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/CADoMBNWHFsC7JM%2BOs2pig-rEiK%3Dn6a3OD%2Bn8MrtOB%2Bo%3DVgknBQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/prometheus-users/CADoMBNWHFsC7JM%2BOs2pig-rEiK%3Dn6a3OD%2Bn8MrtOB%2Bo%3DVgknBQ%40mail.gmail.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/CAGHJLg0rK2%3DZnRJCUnyxMZ5SVBdzenBQDYfRk6YqmdNX%2BNaTvw%40mail.gmail.com.

Reply via email to