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: GitLab Receiver #35207

Open
2 of 3 tasks
adrielp opened this issue Sep 16, 2024 · 1 comment
Open
2 of 3 tasks

New component: GitLab Receiver #35207

adrielp opened this issue Sep 16, 2024 · 1 comment
Labels
Accepted Component New component has been sponsored

Comments

@adrielp
Copy link
Contributor

adrielp commented Sep 16, 2024

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:
traces:
....
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)

@atoulme

Additional context

No response

@adrielp adrielp added needs triage New item requiring triage Sponsor Needed New component seeking sponsor labels Sep 16, 2024
@atoulme atoulme added Accepted Component New component has been sponsored and removed Sponsor Needed New component seeking sponsor needs triage New item requiring triage labels Oct 12, 2024
@atoulme
Copy link
Contributor

atoulme commented Oct 12, 2024

I will sponsor this.

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
Projects
None yet
Development

No branches or pull requests

2 participants