Skip to content

Commit

Permalink
update OTel dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony J Mirabella <[email protected]>
  • Loading branch information
Aneurysm9 committed Jun 12, 2024
1 parent ed3f2c4 commit ba62ce3
Show file tree
Hide file tree
Showing 1,888 changed files with 177,473 additions and 49,858 deletions.
462 changes: 260 additions & 202 deletions go.mod

Large diffs are not rendered by default.

1,088 changes: 647 additions & 441 deletions go.sum

Large diffs are not rendered by default.

25 changes: 10 additions & 15 deletions pkg/config/config_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,21 @@ func GetConfigProviderSettings(flags *flag.FlagSet) otelcol.ConfigProviderSettin
}

// generate the MapProviders for the Config Provider Settings
providers := []confmap.Provider{
fileprovider.NewWithSettings(confmap.ProviderSettings{}),
envprovider.NewWithSettings(confmap.ProviderSettings{}),
yamlprovider.NewWithSettings(confmap.ProviderSettings{}),
httpprovider.NewWithSettings(confmap.ProviderSettings{}),
httpsprovider.NewWithSettings(confmap.ProviderSettings{}),
s3provider.New(),
}

mapProviders := make(map[string]confmap.Provider, len(providers))
for _, provider := range providers {
mapProviders[provider.Scheme()] = provider
providers := []confmap.ProviderFactory{
fileprovider.NewFactory(),
envprovider.NewFactory(),
yamlprovider.NewFactory(),
httpprovider.NewFactory(),
httpsprovider.NewFactory(),
s3provider.NewFactory(),
}

// create Config Provider Settings
configProviderSettings := otelcol.ConfigProviderSettings{
ResolverSettings: confmap.ResolverSettings{
URIs: loc,
Providers: mapProviders,
Converters: []confmap.Converter{expandconverter.New(confmap.ConverterSettings{})},
URIs: loc,
ProviderFactories: providers,
ConverterFactories: []confmap.ConverterFactory{expandconverter.NewFactory()},
},
}

Expand Down
7 changes: 7 additions & 0 deletions vendor/cloud.google.com/go/compute/metadata/CHANGES.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 70 additions & 34 deletions vendor/cloud.google.com/go/compute/metadata/metadata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/cloud.google.com/go/compute/metadata/retry.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ba62ce3

Please sign in to comment.