Reputation: 33
I am currently trying to pull metrics from nuclio functions to my prometheus operator. But I don't realy understand how I am supposed to do.
So far, I have 2 namespaces :
In the nuclio namespace I configured a platform based on the Nuclio Documentation .
My configmap (nuclio-platform-config) :
cronTriggerCreationMode: "kube"
logger:
sinks:
stdout:
kind: stdout
system:
- level : debug
sink: stdout
functions:
- level : debug
sink: stdout
metrics:
sinks:
PromPull:
kind: prometheusPull
url: 8090
attributes:
jobName: nuclio-pull-job
instanceName: nuclio-pull-instance
system:
- PromPull
functions:
- PromPull
As expected, it did not scrape automaticaly my functions' metrics. But I have absolutely no idea what to do next...
If anyone could give me some guidance, I'd be delighted.
PS : I didn't know which config was relevant or not. If you need anything, I will edit my question to add it
Upvotes: 2
Views: 119