Skip to content

Commit 5b5ef9d

Browse files
committed
Format
1 parent 98c4cbe commit 5b5ef9d

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

pkg/pyroscope/pyroscope.go

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ import (
3434
"github.com/grafana/dskit/spanprofiler"
3535
wwtracing "github.com/grafana/dskit/tracing"
3636
"github.com/grafana/pyroscope-go"
37-
"github.com/grafana/pyroscope/pkg/featureflags"
3837
grpcgw "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
3938
"github.com/opentracing/opentracing-go"
4039
"github.com/prometheus/client_golang/prometheus"
4140
"github.com/prometheus/common/version"
4241
"github.com/samber/lo"
4342
"google.golang.org/grpc/health"
4443

44+
"github.com/grafana/pyroscope/pkg/featureflags"
45+
4546
"github.com/grafana/pyroscope/pkg/api"
4647
apiversion "github.com/grafana/pyroscope/pkg/api/version"
4748
"github.com/grafana/pyroscope/pkg/cfg"
@@ -81,24 +82,24 @@ import (
8182
)
8283

8384
type Config struct {
84-
Target flagext.StringSliceCSV `yaml:"target,omitempty"`
85-
API api.Config `yaml:"api"`
86-
Server server.Config `yaml:"server,omitempty"`
87-
Distributor distributor.Config `yaml:"distributor,omitempty"`
88-
Querier querier.Config `yaml:"querier,omitempty"`
89-
Frontend frontend.Config `yaml:"frontend,omitempty"`
90-
Worker worker.Config `yaml:"frontend_worker"`
91-
LimitsConfig validation.Limits `yaml:"limits"`
92-
QueryScheduler scheduler.Config `yaml:"query_scheduler"`
93-
Ingester ingester.Config `yaml:"ingester,omitempty"`
94-
StoreGateway storegateway.Config `yaml:"store_gateway,omitempty"`
95-
MemberlistKV memberlist.KVConfig `yaml:"memberlist"`
96-
PhlareDB phlaredb.Config `yaml:"pyroscopedb,omitempty"`
97-
Tracing tracing.Config `yaml:"tracing"`
98-
OverridesExporter exporter.Config `yaml:"overrides_exporter" doc:"hidden"`
99-
RuntimeConfig runtimeconfig.Config `yaml:"runtime_config"`
100-
Compactor compactor.Config `yaml:"compactor"`
101-
TenantSettings settings.Config `yaml:"tenant_settings"`
85+
Target flagext.StringSliceCSV `yaml:"target,omitempty"`
86+
API api.Config `yaml:"api"`
87+
Server server.Config `yaml:"server,omitempty"`
88+
Distributor distributor.Config `yaml:"distributor,omitempty"`
89+
Querier querier.Config `yaml:"querier,omitempty"`
90+
Frontend frontend.Config `yaml:"frontend,omitempty"`
91+
Worker worker.Config `yaml:"frontend_worker"`
92+
LimitsConfig validation.Limits `yaml:"limits"`
93+
QueryScheduler scheduler.Config `yaml:"query_scheduler"`
94+
Ingester ingester.Config `yaml:"ingester,omitempty"`
95+
StoreGateway storegateway.Config `yaml:"store_gateway,omitempty"`
96+
MemberlistKV memberlist.KVConfig `yaml:"memberlist"`
97+
PhlareDB phlaredb.Config `yaml:"pyroscopedb,omitempty"`
98+
Tracing tracing.Config `yaml:"tracing"`
99+
OverridesExporter exporter.Config `yaml:"overrides_exporter" doc:"hidden"`
100+
RuntimeConfig runtimeconfig.Config `yaml:"runtime_config"`
101+
Compactor compactor.Config `yaml:"compactor"`
102+
TenantSettings settings.Config `yaml:"tenant_settings"`
102103
ClientCapability featureflags.ClientCapabilityConfig `yaml:"client_capability"`
103104

104105
Storage StorageConfig `yaml:"storage"`

0 commit comments

Comments
 (0)