Skip to content

Commit

Permalink
debug clusterKey; pyroscope config
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Oct 24, 2024
1 parent 0b1cea3 commit d442571
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions extension/pyroscope/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ package pyroscope
import "go.opentelemetry.io/collector/component"

type Config struct {
ApplicationName string `json:"application_name"`
Tags map[string]string `json:"tags"`
ServerAddress string `json:"server_address"`
BasicAuth BasicAuth `json:"basic_auth"`
ProfileTypes []string `json:"profile_types"`
TenantID string `json:"tenant_id"`
ApplicationName string `mapstructure:"application_name"`
Tags map[string]string `mapstructure:"tags"`
ServerAddress string `mapstructure:"server_address"`
BasicAuth BasicAuth `mapstructure:"basic_auth"`
ProfileTypes []string `mapstructure:"profile_types"`
TenantID string `mapstructure:"tenant_id"`
}

type BasicAuth struct {
Username string `json:"username"`
Password string `json:"password"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
}

func defaultConfig() component.Config {
Expand Down

0 comments on commit d442571

Please sign in to comment.