Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added etcd2 config source #317

Merged
merged 1 commit into from
Apr 23, 2021
Merged

Added etcd2 config source #317

merged 1 commit into from
Apr 23, 2021

Conversation

owais
Copy link
Contributor

@owais owais commented Apr 21, 2021

No description provided.

@owais owais force-pushed the etcd2-config-source branch 2 times, most recently from ef27f73 to 15004ab Compare April 21, 2021 22:33
@codecov
Copy link

codecov bot commented Apr 21, 2021

Codecov Report

Merging #317 (acdbc54) into main (80d32ed) will increase coverage by 0.40%.
The diff coverage is 84.09%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #317      +/-   ##
==========================================
+ Coverage   79.10%   79.51%   +0.40%     
==========================================
  Files          30       33       +3     
  Lines        2240     2328      +88     
==========================================
+ Hits         1772     1851      +79     
- Misses        423      431       +8     
- Partials       45       46       +1     
Impacted Files Coverage Δ
internal/configsource/etcd2configsource/session.go 73.33% <73.33%> (ø)
...nal/configsource/etcd2configsource/configsource.go 91.30% <91.30%> (ø)
internal/configsource/etcd2configsource/factory.go 100.00% <100.00%> (ø)
internal/configprovider/helpers.go 81.81% <0.00%> (+45.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80d32ed...acdbc54. Read the comment docs.

@owais owais marked this pull request as ready for review April 21, 2021 22:53
@owais owais requested a review from pjanotti April 21, 2021 22:54
Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: just one Q and two "empty" files :)

internal/configsource/etcd2configsource/test_factory.go Outdated Show resolved Hide resolved
internal/configsource/etcd2configsource/session.go Outdated Show resolved Hide resolved
@pjanotti
Copy link
Contributor

A good thing to add will be a README.md describing the config options and a few examples, nothing fancy: configuration information and examples, see https://github.com/signalfx/splunk-otel-collector/blob/main/internal/configsource/vaultconfigsource/README.md

@owais owais force-pushed the etcd2-config-source branch 2 times, most recently from d67572e to d6a7968 Compare April 22, 2021 08:26
endpoints: [http://localhost:2379]
# auth is a optional section used to indicate the authentication method to be used.
# currently only username and password is supported.
auth:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@owais owais merged commit 8705f5d into main Apr 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the etcd2-config-source branch April 23, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants