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

New component: receiver/lokireceiver #18635

Closed
2 tasks done
mar4uk opened this issue Feb 14, 2023 · 3 comments
Closed
2 tasks done

New component: receiver/lokireceiver #18635

mar4uk opened this issue Feb 14, 2023 · 3 comments
Labels
Accepted Component New component has been sponsored Stale

Comments

@mar4uk
Copy link
Contributor

mar4uk commented Feb 14, 2023

The purpose and use-cases of the new component

The Loki receiver implements the Loki push api as specified here. It allows Promtail instances to specify the open telemetry collector as their lokiAddress.

This issue is the reincarnation of #9800

Example configuration for the component

receivers:
  loki:
    protocols:
      http:
        endpoint: 0.0.0.0:3500
      grpc:
        endpoint: 0.0.0.0:3600    
   # Label map to add to every log line sent to the push API
    labels:
      [ <labelname>: <labelvalue> ... ]   

labels could be converted to Log Record Attributes

Telemetry data types supported

Logs

Is this a vendor-specific component?

  • This is a vendor-specific component
  • If this is a vendor-specific component, I am proposing to contribute this as a representative of the vendor.

Sponsor (optional)

No response

Additional context

The previous implementation of promtail receiver failed because it had pull and push implementation. Pull implementation required importing Loki, which led to bringing a lot of dependencies and vulnerabilities to the collector.
Such amount of dependencies is difficult to maintain. That's why the decision to remove promtail receiver was made (#18524)

In this proposal, I suggest implementing only the push mechanism.
It will cover community request to send loki logs to the collector

@mar4uk mar4uk added the needs triage New item requiring triage label Feb 14, 2023
@kovrus
Copy link
Member

kovrus commented Feb 14, 2023

I can sponsor this component.

@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2023

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

@github-actions github-actions bot added the Stale label May 8, 2023
@mar4uk mar4uk closed this as completed May 9, 2023
@fbuetler
Copy link

fbuetler commented May 9, 2023

As it is completed, in what version is this going to be available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Component New component has been sponsored Stale
Projects
None yet
Development

No branches or pull requests

4 participants