Skip to content

Conversation

@DavidS-ovm
Copy link
Contributor

@DavidS-ovm DavidS-ovm commented Aug 25, 2023

vscode ➜ /workspace/ovm-cli (dev) $ go run main.go request --query foo
INFO[0000] set log level from config                     fields.level=info
INFO[0000] otlptracehttp client configured itself: &{traces {localhost:4318 false <nil> map[] 0 10000000000 /v1/traces <nil>} {{localhost:4318 false <nil> map[] 0 10000000000 /v1/traces <nil>} {true 5000000000 30000000000 60000000000} 0  [] <nil>} 0xd1e680 0xc00067dce0 0xc000048300 {0 {0 0}}} 
ERRO[0000] failed to authenticate                        api-key-url="https://api.df.overmind-demo.com" error="error authenticating the API token: unauthenticated: API key not found"
exit status 1
vscode ➜ /workspace/ovm-cli (dev) $ OTEL=true go run main.go request --query foo
INFO[0000] set log level from config                     fields.level=info
INFO[0000] otlptracehttp client configured itself: &{traces {api.honeycomb.io false <nil> map[x-honeycomb-team:Quu6uCifruYihvi1Lzj3MC] 0 10000000000 /v1/traces <nil>} {{api.honeycomb.io false <nil> map[x-honeycomb-team:Quu6uCifruYihvi1Lzj3MC] 0 10000000000 /v1/traces <nil>} {true 5000000000 30000000000 60000000000} 0  [] <nil>} 0xd1e680 0xc00014b650 0xc0000484e0 {0 {0 0}}} 
ERRO[0000] failed to authenticate                        api-key-url="https://api.df.overmind-demo.com" error="error authenticating the API token: unauthenticated: API key not found"
exit status 1
vscode ➜ /workspace/ovm-cli (dev) $ 

Fixes #54

```
vscode ➜ /workspace/ovm-cli (dev) $ go run main.go request --query foo
INFO[0000] set log level from config                     fields.level=info
INFO[0000] otlptracehttp client configured itself: &{traces {localhost:4318 false <nil> map[] 0 10000000000 /v1/traces <nil>} {{localhost:4318 false <nil> map[] 0 10000000000 /v1/traces <nil>} {true 5000000000 30000000000 60000000000} 0  [] <nil>} 0xd1e680 0xc00067dce0 0xc000048300 {0 {0 0}}}
ERRO[0000] failed to authenticate                        api-key-url="https://api.df.overmind-demo.com" error="error authenticating the API token: unauthenticated: API key not found"
exit status 1
vscode ➜ /workspace/ovm-cli (dev) $ OTEL=true go run main.go request --query foo
INFO[0000] set log level from config                     fields.level=info
INFO[0000] otlptracehttp client configured itself: &{traces {api.honeycomb.io false <nil> map[x-honeycomb-team:Quu6uCifruYihvi1Lzj3MC] 0 10000000000 /v1/traces <nil>} {{api.honeycomb.io false <nil> map[x-honeycomb-team:Quu6uCifruYihvi1Lzj3MC] 0 10000000000 /v1/traces <nil>} {true 5000000000 30000000000 60000000000} 0  [] <nil>} 0xd1e680 0xc00014b650 0xc0000484e0 {0 {0 0}}}
ERRO[0000] failed to authenticate                        api-key-url="https://api.df.overmind-demo.com" error="error authenticating the API token: unauthenticated: API key not found"
exit status 1
vscode ➜ /workspace/ovm-cli (dev) $
```
@DavidS-ovm DavidS-ovm force-pushed the stop-trying-tracing branch from 8b2f26c to 364b013 Compare August 25, 2023 13:15
@DavidS-ovm DavidS-ovm merged commit f50678e into main Aug 25, 2023
@DavidS-ovm DavidS-ovm deleted the stop-trying-tracing branch August 25, 2023 13:22
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.

Don't configure tracing unless enabled

3 participants