honeycombio / libhoney-go

Go library for sending data to Honeycomb
Apache License 2.0
58 stars 40 forks source link

Add environment & services support #170

Closed MikeGoldsmith closed 2 years ago

MikeGoldsmith commented 2 years ago

Which problem is this PR solving?

Updates the config class to default to "unknown_dataset" or trim the dataset value if a non-classsic API (write) key is used. Default behaviour for classic API keys is unchanged.

Short description of the changes

MikeGoldsmith commented 2 years ago

Updated with requested changes - thanks @vreynolds