Skip to content

Add exporter type config option with Zipkin and OTLP#52

Merged
jcchavezs merged 2 commits intohypertrace:mainfrom
pavolloffay:exporter-type
Feb 23, 2021
Merged

Add exporter type config option with Zipkin and OTLP#52
jcchavezs merged 2 commits intohypertrace:mainfrom
pavolloffay:exporter-type

Conversation

@pavolloffay
Copy link
Copy Markdown
Member

Signed-off-by: Pavol Loffay p.loffay@gmail.com

Make exporter type configurable

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Comment thread config.proto Outdated
// 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 <p.loffay@gmail.com>
@pavolloffay pavolloffay changed the title Add exporter type config option Add exporter type config option with Zipkin and OTLP Feb 23, 2021
Comment thread ENV_VARS.md
| 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
Copy Markdown
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
Copy Markdown
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