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

maint: add comments about an edge case in SendKey #1387

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

VinozzZ
Copy link
Contributor

@VinozzZ VinozzZ commented Oct 15, 2024

Which problem is this PR solving?

When using Beeline with a classic API key, events are sent with dataset configured. However, when Refinery replaces the API key with an E&S key, events are stored using service.name instead of dataset. Refinery cannot control Beeline’s dataset propagation, as this is handled by beeline configuration. This issue does not occur with OpenTelemetry (OTel) SDKs, which have a different propagation mechanism.

Short description of the changes

  • adding a note in README to call out this edge case

@VinozzZ VinozzZ requested a review from a team as a code owner October 15, 2024 20:54
@VinozzZ VinozzZ added the type: maintenance The necessary chores to keep the dust off. label Oct 15, 2024
@@ -155,6 +155,9 @@ A quick start for specific scenarios is below:
* Set `SendKey` to a valid Honeycomb Key
* Set `SendKeyMode` to `listedonly`

+**NOTE**
+
+When using Beelines with a classic API key to send data to Refinery, ensure that the `SendKey` is also a classic Key, not an environment and service(E&S) key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would that work tho or would that header still get dropped? I think if you're sending with a Classic Key/Header combo that you should not use SendKey at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the SendKey is a classic key, it should work since the dataset header is present

@VinozzZ VinozzZ merged commit 7d64c36 into main Nov 7, 2024
5 checks passed
@VinozzZ VinozzZ deleted the yingrong.send_key_classic branch November 7, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance The necessary chores to keep the dust off.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants