generated from honeycombio/.github
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support classic ingest keys (#371)
## Which problem is this PR solving? We've released Ingest Keys, but need to update the key detection logic to allow Ingest Keys to be used to send data to Classic environments. ## Short description of the changes - updates the Classic API Key detection logic to understand the shape of a Classic Ingest Key - updates tests with a more comprehensive list of cases - bonus: updated the circleCI image for smoke tests to `ubuntu-2204:2024.01.1` since the one we were using [is deprecated](https://discuss.circleci.com/t/linux-image-deprecations-and-eol-for-2024/50177) ## How to verify that this has the expected result It should be possible to use [an ingest key](https://docs.honeycomb.io/working-with-your-data/settings/api-keys/#ingest-keys-1) pointed to a classic environment after this change. Please note that the ability to create ingest keys in classic environments isn't yet publicly available (since we need to update this library and others to understand classic ingest keys). --------- Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com> Co-authored-by: Phillip Carter <pcarter@fastmail.com>
- Loading branch information
1 parent
9a876a2
commit 415e430
Showing
3 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
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
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
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