-
Notifications
You must be signed in to change notification settings - Fork 5
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 exporter type config option with Zipkin and OTLP #52
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
config.proto
Outdated
@@ -46,6 +46,9 @@ message Reporting { | |||
|
|||
// opa describes the setting related to the Open Policy Agent | |||
Opa opa = 4; | |||
|
|||
// reporter type - zipkin or otlp. Defaults to Zipkin, in the future it will change to otlp. |
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.
How about enum instead? otherwise this becomes a whatever value thing. WE could also make it possible to support console and file.
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.
How about enum instead?
I will have a look at enum
WE could also make it possible to support console and file.
This can be done incrementally per use-case.
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.
There is this use case already #6
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.
Let's tackle that in a separate PR.
Signed-off-by: Pavol Loffay <[email protected]>
@@ -25,4 +25,4 @@ Agents can be configured using environment variables: | |||
| HT_DATA_CAPTURE_BODY_MAX_SIZE_BYTES | Maximum size of captured body in bytes. Default should be 131_072 (128 KiB). | | |||
| HT_PROPAGATION_FORMATS | List the supported propagation formats e.g. `HT_PROPAGATION_FORMATS="B3,TRACECONTEXT"`. | | |||
| HT_ENABLED | When `false`, disables the agent | | |||
| HT_JAVAAGENT_FILTER_JAR_PATHS | Is the list of path to filter jars, separated by `,` | | |||
| HT_JAVAAGENT_FILTER_JAR_PATHS | Is the list of path to filter jars, separated by `,`. | |
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.
@jcchavezs it seems that the generator did not work for reporter type
@jcchavezs I have added the enum and added trace to reporter since we might do metrics as well. |
Signed-off-by: Pavol Loffay [email protected]
Make exporter type configurable