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 exporter type config option with Zipkin and OTLP #52

Merged
merged 2 commits into from
Feb 23, 2021

Conversation

pavolloffay
Copy link
Member

Signed-off-by: Pavol Loffay [email protected]

Make exporter type configurable

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.
Copy link
Contributor

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.

Copy link
Member Author

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.

Copy link
Contributor

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

Copy link
Member Author

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]>
@pavolloffay pavolloffay changed the title Add exporter type config option Add exporter type config option with Zipkin and OTLP Feb 23, 2021
@@ -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 `,`. |
Copy link
Member Author

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

@pavolloffay
Copy link
Member Author

@jcchavezs I have added the enum and added trace to reporter since we might do metrics as well.

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