receiver_windows.go 564 B

12345678910111213141516171819202122
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver"
  4. import (
  5. "context"
  6. "fmt"
  7. "go.opentelemetry.io/collector/consumer"
  8. "go.opentelemetry.io/collector/receiver"
  9. )
  10. func newMetricsReceiver(
  11. _ context.Context,
  12. settings receiver.CreateSettings,
  13. config *Config,
  14. nextConsumer consumer.Metrics,
  15. clientFactory any,
  16. ) (receiver.Metrics, error) {
  17. return nil, fmt.Errorf("podman receiver is not supported on windows")
  18. }