prometheus/storage/remote/azuread
beorn7 747c5ee2b1 Apply analyzer "modernize" to the whole codebase
See
https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
for details.

This ran into a few issues (arguably bugs in the modernize tool),
which I will fix in the next commit, so that we have transparency what
was done automatically.

Beyond those hiccups, I believe all the changes applied are
legitimate. Even where there might be no tangible direct gain, I would
argue it's still better to use the "modern" way to avoid micro
discussions in tiny style PRs later.

Signed-off-by: beorn7 <beorn@grafana.com>
2025-08-27 14:48:41 +02:00
..
testdata remote_write azure auth : add workload identity support (#16788) 2025-08-26 07:14:47 +01:00
azuread.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
azuread_test.go remote_write azure auth : add workload identity support (#16788) 2025-08-26 07:14:47 +01:00
README.md Add Azure AD package for remote write (#11944) 2023-06-01 15:20:10 -06:00

azuread package

azuread provides an http.RoundTripper that attaches an Azure AD accessToken to remote write requests.

This module is considered internal to Prometheus, without any stability guarantees for external usage.