Open
Description
The purpose and use-cases of the new component
The purpose of this receiver is the same as the GitHub Receiver but in the context of GItLab. It will support metrics, logs, and traces from GitLab in almost the same way as the GitLab receiver. Much of this code exists in some form or another.
Really, the logic and metrics are the same as the GitHub receiver. The differences are:
- API Calls are different
- Events that are used to build traces are different
Everything else is closely aligned. The CICD SIG will leverage this as one of the prototypes alongside the GitHub receiver helping to inform conventions and support telemetry in GitLab.
Example configuration for the component
extensions:
bearertokenauth/gitlab:
token: ${env:TOKEN}
receivers:
gitlab:
interval: 15s #the interval at which the scraper scrapes
group: mygroup #the organization name in github
query: <some query>
traces:
.... <traces webhook configuration>
auth:
authenticator: bearertokenauth/gitlab
Telemetry data types supported
Metrics, Logs, Traces
Is this a vendor-specific component?
- This is a vendor-specific component
- If this is a vendor-specific component, I am a member of the OpenTelemetry organization.
- If this is a vendor-specific component, I am proposing to contribute and support it as a representative of the vendor.
Code Owner(s)
adrielp
Sponsor (optional)
Additional context
No response