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

add unix spectatord output location #105

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

copperlight
Copy link
Collaborator

Add a new spectatord output location, unix, which selects the default Unix Domain Socket used by spectatord. This saves the user from having to lookup this value.

Add Registry tests to validate that the with-id methods add any extra common tags that are specified in the Config. This is true as long as the NewId method on the Registry is used to create Ids.

In the Config, it is not necessary to check the result from tagsFromEnvVars, because only non-empty values are added to the map.

Add a new spectatord output location, `unix`, which selects the default Unix
Domain Socket used by spectatord. This saves the user from having to lookup
this value.

Add Registry tests to validate that the with-id methods add any extra common
tags that are specified in the Config. This is true as long as the `NewId`
method on the `Registry` is used to create `Id`s.

In the Config, it is not necessary to check the result from `tagsFromEnvVars`,
because only non-empty values are added to the map.
@copperlight copperlight merged commit f6d4482 into Netflix:main Jul 10, 2024
2 checks passed
sgg added a commit that referenced this pull request Aug 20, 2024
PR #105 allowed the use of the `unix` as a shorthand for spectatord's
default unix socket path. This diff updates the config validation logic
so that folks can pass that value in.
copperlight pushed a commit that referenced this pull request Aug 20, 2024
PR #105 allowed the use of the `unix` as a shorthand for spectatord's
default unix socket path. This diff updates the config validation logic
so that folks can pass that value in.
@copperlight copperlight deleted the add-unix-location branch September 27, 2024 19:29
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.

1 participant