Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Setup]: pull nuclio metrics from prometheus #2979

Open
1 task done
salucien opened this issue Aug 8, 2023 · 0 comments
Open
1 task done

[Setup]: pull nuclio metrics from prometheus #2979

salucien opened this issue Aug 8, 2023 · 0 comments

Comments

@salucien
Copy link

salucien commented Aug 8, 2023

Setup check

Setup Method

Kubernetes

Kubernetes Cluster Type

Other

Nuclio Version

1.11.8

Issue Description

I am currently trying to pull metrics from nuclio functions to my prometheus operator.
So far, I have 2 namespaces :

  • monitoring : for my kube-prometheus-stack
  • nuclio : for everything related to nuclio (controller, dashboard and functions)

In the nuclio namespace I configured a platform based on the Nuclio Documentation .

nuclio-platform-config

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

But I don't really know what I am supposed to do next. I am new to prometheus and was expecting to create a ServiceMonitor on a port used by my functions by I don't see which one, so I am kinda lost...

Setup Logs

N/A

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant