Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
movence committed Feb 16, 2024
1 parent 9e70069 commit b9a0e03
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion receiver/awscontainerinsightreceiver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,5 @@ type Config struct {
EnableControlPlaneMetrics bool `mapstructure:"enable_control_plane_metrics"`

// EnableGpuMetric toggles GPU monitoring where metrics are scraped from vendor specific sources
// The default value is true meaning GPU metrics get collected out of the box unless it's disabled
EnableGpuMetric bool `mapstructure:"gpu_metrics"`
}
15 changes: 0 additions & 15 deletions receiver/awscontainerinsightreceiver/internal/gpu/dcgmscraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,6 @@ func NewDcgmScraper(opts DcgmScraperOpts) (*DcgmScraper, error) {
}

scrapeConfig := &config.ScrapeConfig{
// TLS needs to be enabled between pods communication
// It can further get restricted by adding authentication mechanism to limit the data
//HTTPClientConfig: configutil.HTTPClientConfig{
// BasicAuth: &configutil.BasicAuth{
// Username: "",
// Password: "",
// },
// Authorization: &configutil.Authorization{
// Type: "basic_auth",
// },
// TLSConfig: configutil.TLSConfig{
// CAFile: caFile,
// InsecureSkipVerify: false,
// },
//},
ScrapeInterval: model.Duration(collectionInterval),
ScrapeTimeout: model.Duration(collectionInterval),
JobName: jobName,
Expand Down

0 comments on commit b9a0e03

Please sign in to comment.