-
Notifications
You must be signed in to change notification settings - Fork 32
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 Environment and Services support #196
Merged
Merged
Conversation
This file contains 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
MikeGoldsmith
force-pushed
the
mike/env-service
branch
from
March 18, 2022 13:36
989c784
to
d1c8500
Compare
MikeGoldsmith
force-pushed
the
mike/env-service
branch
from
March 18, 2022 13:36
d1c8500
to
0c273f4
Compare
+ tighten up checks and give them names + reorganize the tests to assume new Honeycomb world and treat classic like the special case Co-authored-by: JamieDanielson <JamieDanielson@users.noreply.github.com>
Don't pass dataset around. Not complete. Still need to sort out the Honeycomb::Propagation::Parser & ::Serializer which are the modules mixed in to Trace. Co-authored-by: Jamie Danielson <jamiedanielson@honeycomb.io>
JamieDanielson
added
type: enhancement
New feature or request
version: bump minor
A PR that adds behavior, but is backwards-compatible.
labels
Mar 22, 2022
vreynolds
approved these changes
Mar 23, 2022
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.
Looks good, just a couple small notes
Co-authored-by: Vera Reynolds <vreynolds@users.noreply.github.com>
robbkidd
reviewed
Mar 23, 2022
Nothing we've added uses Configuration directly.
Also makes the expected value a bit different than the field names.
Any string that isn't 32 characters can stand in here.
robbkidd
approved these changes
Mar 23, 2022
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
type: enhancement
New feature or request
version: bump minor
A PR that adds behavior, but is backwards-compatible.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which problem is this PR solving?
Short description of the changes
If using an environment-aware key:
service.name
in addition toservice_name
to be more consistent with otelunknown_service:<processname>
orunknown_service:ruby
if process name is unavailable and no service name providedunknown_service*
, truncate tounknown_service
for datasetwarning provided if dataset is set in config when using environment key:
dataset will be ignored, sending data to message-rb
service_name is unknown, will set to unknown_service:rackup
dataset will be ignored, sending data to unknown_service:rackup
If using a classic key:
service.name
in addition toservice_name
to be more consistent with otelunknown_service:<processname>
orunknown_service:go
if process name is unavailable and no service name providedwarning on missing env vars with classic key:
empty service_name option
empty dataset option
Libhoney::Client: no dataset configured, disabling sending events