-
Notifications
You must be signed in to change notification settings - Fork 118
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
feat(metrics-operator): add basicauth to prometheus provider #2154
Conversation
✅ Deploy Preview for keptn-lifecycle-toolkit ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2154 +/- ##
==========================================
- Coverage 84.56% 75.09% -9.48%
==========================================
Files 153 68 -85
Lines 9881 4493 -5388
==========================================
- Hits 8356 3374 -4982
+ Misses 1237 954 -283
+ Partials 288 165 -123
... and 100 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
metrics-operator/controllers/common/providers/prometheus/common.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/common.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/common_test.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/prometheus.go
Outdated
Show resolved
Hide resolved
metrics-operator/controllers/common/providers/prometheus/common.go
Outdated
Show resolved
Hide resolved
Signed-off-by: realanna <anna.reale@dynatrace.com>
… for specifying time frame (#2147) Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: realanna <anna.reale@dynatrace.com> fix: link Signed-off-by: realanna <anna.reale@dynatrace.com> Update metrics-operator/controllers/common/providers/prometheus/prometheus.go Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update metrics-operator/controllers/common/providers/prometheus/common.go Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> fix: embed getter in the struct Signed-off-by: realanna <anna.reale@dynatrace.com> Update metrics-operator/controllers/common/providers/prometheus/prometheus.go Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> fix: add unit test to make ondrej happy Signed-off-by: realanna <anna.reale@dynatrace.com> fix: removed skip lint Signed-off-by: realanna <anna.reale@dynatrace.com> fix: removed dd special func for secrets Signed-off-by: realanna <anna.reale@dynatrace.com> fix: useless test setup Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): add unit test Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): add unit test Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): add integration test Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): lint Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): lint Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): revert change to ddprovider Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): fixed test Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): use roundtripper from prometheus api Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): add test of header Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): add unit tests Signed-off-by: realanna <anna.reale@dynatrace.com> feat(metrics-operator): first iteration on prometheus auth Signed-off-by: realanna <anna.reale@dynatrace.com>
Signed-off-by: realanna <anna.reale@dynatrace.com>
86bfa52
to
16954d3
Compare
Signed-off-by: realanna <anna.reale@dynatrace.com>
Signed-off-by: realanna <anna.reale@dynatrace.com>
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
Signed-off-by: realanna <anna.reale@dynatrace.com>
Kudos, SonarCloud Quality Gate passed!
|
closes #2128
this feature allows to send api calls to Prometheus using user and password