-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/azuremonitor] Add support for azure workload identity auth #24543
[receiver/azuremonitor] Add support for azure workload identity auth #24543
Conversation
8b2482e
to
5cae9c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since the service_principal and workload_identity are both used in multiple places, how about convert them into consts?
Good point! I have converted them to be consts |
3dfa18b
to
40a26b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job with improving the receiver, I've added few small comments
96a980b
to
f5adfd9
Compare
@cmergenthaler please fix the failed test, thanks |
a4cea7d
to
f593724
Compare
f593724
to
02a8cbb
Compare
@fatsheep9146 done |
02a8cbb
to
17eae82
Compare
ping @codeboten @altuner for review again, thanks |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
17eae82
to
0c3e038
Compare
0c3e038
to
475fb69
Compare
Anything missing here? Would be nice to have this merged so that I don't have to rebase and resolve conflicts again. |
034e656
to
80b6aed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, just a comment re. constants that don't need to be public. Otherwise it looks good
69c6dc5
to
73668a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmergenthaler please resolve the last conflict and we can get this merged
… separate function
3bb5708
to
90e9403
Compare
@codeboten done, please merge |
Thanks @cmergenthaler! |
…pen-telemetry#24543) Enhances azuremonitor receiver authentication by using [azure workload identity](https://azure.github.io/azure-workload-identity/docs/). I have added a new config parameter `auth` to specify the used authentication method (default set to service-principal) in order to possibly add more methods in the future. Fixes open-telemetry#24451 **Testing:** Tested on my AKS
Description:
Enhances azuremonitor receiver authentication by using azure workload identity. I have added a new config parameter
auth
to specify the used authentication method (default set to service-principal) in order to possibly add more methods in the future.Link to tracking Issue: Fixes #24451
Testing: Tested on my AKS
Documentation: Added to README.md