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

Add OTEL Collector configuration to Authorization storage-service #692

Merged
merged 6 commits into from
Sep 18, 2024

Conversation

atye
Copy link
Contributor

@atye atye commented Sep 17, 2024

Description

  • Adds the collector-address argument to the storage-service to pass in the address of the OTLP gRPC receiver.
  • Adds container port 2112 on the storage-service which handles prometheus metrics
  • Ran make static-manifests

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1281

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

New unit test to verify collector-address argument. Manually built Operator and deployed Authorization.

alikdell
alikdell previously approved these changes Sep 17, 2024
EvgenyUglov
EvgenyUglov previously approved these changes Sep 17, 2024
@atye atye force-pushed the usr/atye/authorization-storage-polling-metrics branch from b55b3b6 to 5e679c6 Compare September 18, 2024 15:04
@atye atye dismissed stale reviews from EvgenyUglov and alikdell via 4448d42 September 18, 2024 15:36
@atye atye merged commit e00ad94 into main Sep 18, 2024
7 checks passed
@atye atye deleted the usr/atye/authorization-storage-polling-metrics branch September 18, 2024 16:53
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* add metric port to storage-service

* add test

* add new testdata file

* fix test

* check config

* format yaml
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.

3 participants