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

Support consul service meta data #595

Closed
wants to merge 45 commits into from

Conversation

teutat3s
Copy link
Member

See #592 and #593

frederikbosch and others added 30 commits October 24, 2019 16:43
tests are failing because ps is missing from the node base Docker image

fix telemetry test looking for wrong value

Update run.sh

add output to sensor.sh for testing

cat files to see what is being tested

-putmetric in test_telemetry run.sh...

because sensor.sh isn't working

change metric name in -putmetric test

put grep back into test_telemetry/run.sh
this type assertion to a variable (switch intv :=
intv.(type)) could eliminate type assertions in
switch cases
teutat3s and others added 15 commits April 14, 2022 00:33
*client: github.com/hashicorp/consul/api.Client contains sync.RWMutex
even if a function permits it; pass context.TODO if

you are unsure about which Context to use

https://staticcheck.io/docs/checks#SA1012
Use go version 1.19 as base image

Bump consul version to 1.13.3

Update go.mod dependencies
TritonDataCenter#592
TritonDataCenter#593
All credits and thanks to Luc Willems

Co-authored-by: Luc Willems <luc.willems@t-m-m.be>
Multiple: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16,
the same functionality is now provided by package io or package os, and
those implementations should be preferred in new code. See the specific
function documentation for details.  (SA1019)

discovery/consul_test.go:163:11: unnecessary use of fmt.Sprintf (S1039)
@teutat3s
Copy link
Member Author

Excuse the noise, wrong base branch.

@teutat3s teutat3s closed this Oct 25, 2022
@teutat3s teutat3s deleted the f/service-meta-data branch October 25, 2022 10:52
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.

3 participants