Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Nov 18, 2024
1 parent b5e153f commit 88b0c0a
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "cpu"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package diskscraper // import "github.com/open-telemetry/opentelemetry-collector
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "disk"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"context"
"os"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -22,9 +21,6 @@ const (
TypeStr = "filesystem"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package loadscraper // import "github.com/open-telemetry/opentelemetry-collector
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "load"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package memoryscraper // import "github.com/open-telemetry/opentelemetry-collect
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "memory"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package networkscraper // import "github.com/open-telemetry/opentelemetry-collec
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "network"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package pagingscraper // import "github.com/open-telemetry/opentelemetry-collect
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "paging"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package processesscraper // import "github.com/open-telemetry/opentelemetry-coll
import (
"context"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -21,9 +20,6 @@ const (
TypeStr = "processes"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"errors"
"runtime"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/featuregate"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"
Expand All @@ -24,9 +23,6 @@ const (
TypeStr = "process"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

var (
bootTimeCacheFeaturegateID = "hostmetrics.process.bootTimeCache"
bootTimeCacheFeaturegate = featuregate.GlobalRegistry().MustRegister(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"errors"
"runtime"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scraperhelper"

Expand All @@ -23,9 +22,6 @@ const (
TypeStr = "system"
)

// scraperType is the component type used for the built scraper.
var scraperType component.Type = component.MustNewType(TypeStr)

// Factory is the Factory for scraper.
type Factory struct{}

Expand Down

0 comments on commit 88b0c0a

Please sign in to comment.