You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
No. I suggest this new feature to allow OTEL Collector the ability to load configuration for itself by fetching and reading config files returned by HTTP servers.
Describe the solution you'd like
Create a new folder httpprovider under confmap, with files provider.go and provider_test.go. For the provider.go, I in a way keep the same as what yaml/file/envproviders do, but need a HTTP client to send HTTP requests. For the provider_test.go, I did unit tests for multiple possible cases (Empty urls, invalid config files, non-exist config files, and so on).
Additional context
I've implemented the code for this feature. Passed both unit tests and integration tests.
Is your feature request related to a problem? Please describe.
No. I suggest this new feature to allow OTEL Collector the ability to load configuration for itself by fetching and reading config files returned by HTTP servers.
Describe the solution you'd like
Create a new folder
httpprovider
underconfmap
, with filesprovider.go
andprovider_test.go
. For theprovider.go
, I in a way keep the same as what yaml/file/envproviders do, but need a HTTP client to send HTTP requests. For theprovider_test.go
, I did unit tests for multiple possible cases (Empty urls, invalid config files, non-exist config files, and so on).Additional context
I've implemented the code for this feature. Passed both unit tests and integration tests.
Sponsor
@Aneurysm9
The text was updated successfully, but these errors were encountered: