You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Loki receiver implements the Loki push api as specified here. It allows Promtail instances to specify the open telemetry collector as their lokiAddress.
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
The text was updated successfully, but these errors were encountered:
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.
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
labels could be converted to Log Record Attributes
Telemetry data types supported
Logs
Is this a vendor-specific component?
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
The text was updated successfully, but these errors were encountered: