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

zerolog: could not write event: error: loghttp.PushRequest.Streams: []*loghttp.Stream: unmarshalerDecoder: #2

Open
Art-Man opened this issue Oct 5, 2022 · 0 comments

Comments

@Art-Man
Copy link

Art-Man commented Oct 5, 2022

  1. Loki install

https://grafana.com/docs/loki/latest/installation/docker/
wget https://raw.githubusercontent.com/grafana/loki/v2.6.1/production/docker-compose.yaml -O docker-compose.yaml
docker-compose -f docker-compose.yaml up

  1. use example const config
const (
	host     = "http://localhost:3100"
	username = ""
	password = ""
	labels   = "level,my_label"
)
  1. error message

zerolog: could not write event: error: loghttp.PushRequest.Streams: []*loghttp.Stream: unmarshalerDecoder: Value looks like Number/Boolean/None, but can't find its end: ',' or '}' symbol, error found in #10 byte of ...|alue\n"]]}]}|..., bigger context ...| \u001b[36mmy_label=\u001b[0msome_value\n"]]}]}|...

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

No branches or pull requests

1 participant