FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

✨ Expose reporting config to consumers of `javaagent-core` so that `Filter` implementation authors can access them by ryandens · Pull Request #327 · hypertrace/javaagent · GitHub

✨ Expose reporting config to consumers of javaagent-core so that Filter implementation authors can access them - #327

Merged
ryandens merged 7 commits into
mainfrom
reporting-config
Jun 28, 2021
Merged

✨ Expose reporting config to consumers of javaagent-core so that Filter implementation authors can access them#327
ryandens merged 7 commits into
mainfrom
reporting-config

Conversation

ryandens commented Jun 28, 2021
edited
Loading

Copy link
Copy Markdown
Member

Description

Allow the HypertraceConfig APIs around reporting and OPA configuration to be exposed to clients following a similar pattern as done with the InstrumentationConfig. PR #322 moved the config implementation out of the javaagent-core package, but some implementations of the Hypertrace Filter API need to access config properties that are not accessible via the InstrumentationConfig object. As this is a public API, I wanted to make it well known that the ReportingConfig.Opa object isn't going to live forever in this repo, as we'd like to eventually remove configuraton options that are intended for use by Traceable to not be included in the Hypertrace repo.

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

Documentation

Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.

N/A

ryandens requested a review from pavolloffay June 28, 2021 20:29

Copy link
Copy Markdown
Member Author

@pavolloffay I know you have lots of context and perspective on this (re: #322 ) let me know if you have any concerns/feedback!

ryandens marked this pull request as ready for review June 28, 2021 21:28
ryandens merged commit 9a40dc5 into main Jun 28, 2021
ryandens deleted the reporting-config branch June 28, 2021 21:44

Copy link
Copy Markdown
Member

Yeah this PR should not be needed as the https://github.com/hypertrace/javaagent/blob/main/otel-extensions/src/main/java/org/hypertrace/agent/otel/extensions/config/HypertraceConfig.java is available when the filter is created.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL