package cadvisor
import (
"github.com/grafana/agent/pkg/integrations"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
)
func (c *Config) NewIntegration(logger log.Logger) (integrations.Integration, error) {
level.Warn(logger).Log("msg", "the cadvisor integration only works on linux; enabling it on other platforms will do nothing")
return &integrations.StubIntegration{}, nil
}