Add metrics support

This change introduces prometheus metric exporter support for
multus-daemon, thick plugin.
This commit is contained in:
Tomofumi Hayashi
2022-06-02 18:20:38 +09:00
parent df903a757e
commit 9f3e6b0da0
159 changed files with 34579 additions and 17 deletions

View File

@@ -198,6 +198,8 @@ type ControllerNetConf struct {
LogLevel string `json:"logLevel"`
LogToStderr bool `json:"logToStderr,omitempty"`
MetricsPort *int `json:"metricsPort,omitempty"`
// Option to point to the path of the unix domain socket through which the
// multus client / server communicate.
MultusSocketDir string `json:"socketDir"`