config.go 630 B

123456789101112131415
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper"
  4. import (
  5. "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal"
  6. "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/internal/metadata"
  7. )
  8. // Config relating to Memory Metric Scraper.
  9. type Config struct {
  10. metadata.MetricsBuilderConfig `mapstructure:",squash"`
  11. internal.ScraperConfig
  12. }