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

Grafana Loki Sink needs to support log metadata #20885

Closed
miadabrin opened this issue Jul 18, 2024 · 1 comment
Closed

Grafana Loki Sink needs to support log metadata #20885

miadabrin opened this issue Jul 18, 2024 · 1 comment
Labels
type: feature A value-adding code addition that introduce new functionality.

Comments

@miadabrin
Copy link

miadabrin commented Jul 18, 2024

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

currently Loki supports metadata on the logline https://grafana.com/docs/loki/latest/get-started/labels/structured-metadata/ but the loki sink doesn't support it. This makes a lot of challenges for finding logs in loki properly

Attempted Solutions

the http sink also doesn't work in this case since it doesn't allow sending an array for the http endpoint (instead of a json object)

Proposal

add support for adding metadata to log lines

References

No response

Version

No response

@miadabrin miadabrin added the type: feature A value-adding code addition that introduce new functionality. label Jul 18, 2024
@miadabrin miadabrin changed the title Loki Sink needs to support log metadata Grafana Loki Sink needs to support log metadata Jul 18, 2024
@jszwedko
Copy link
Member

I think this is a duplicate of #18876 but let me know if I'm wrong!

@jszwedko jszwedko closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants