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

How to use metrics #1304

Open
wrender opened this issue Jun 25, 2024 · 2 comments
Open

How to use metrics #1304

wrender opened this issue Jun 25, 2024 · 2 comments

Comments

@wrender
Copy link

wrender commented Jun 25, 2024

Hello,

Is anyone able to provide details on how to enable and use the metrics feature of the thick multi version? I see metricsPort is an available option but I don’t see any documentation on what format they are in and how that works exactly.

Is it just a port that exposes the metrics in a way that Prometheus or Grafana can pick up?

thanks!

@foursunZero
Copy link

You can add the metricsPort field to the configuration file to configure the metric. recommend here

@wrender
Copy link
Author

wrender commented Jul 9, 2024

If I add this to my deployment with something like this in the multus-daemonset-thick.yml file, the multus daemon just crash loops. It doesn't seem to work:

data:
  daemon-config.json: |
    {
        "chrootDir": "/hostroot",
        "cniVersion": "0.3.1",
        "logLevel": "verbose",
        "logToStderr": true,
        "cniConfigDir": "/host/etc/cni/net.d",
        "multusAutoconfigDir": "/host/etc/cni/net.d",
        "multusConfigFile": "auto",
        "metricsPort": "9091",
        "socketDir": "/host/run/multus/"
    }

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

No branches or pull requests

3 participants