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: Demo Logs receiver #35024

Open
3 tasks
legendary-acp opened this issue Sep 5, 2024 · 3 comments
Open
3 tasks

New component: Demo Logs receiver #35024

legendary-acp opened this issue Sep 5, 2024 · 3 comments
Labels
Sponsor Needed New component seeking sponsor

Comments

@legendary-acp
Copy link

legendary-acp commented Sep 5, 2024

The purpose and use-cases of the new component

While debugging data path from collector to desired location we sometime need some random data that generate some random logs generated for debugging purpose. It would be great if we create a dummy log receiver within collector which will solve our use case.

Example configuration for the component

receivers:
  dummyLogs:
    body: "This is a demo log"

This is very vague overview. Can be changed in future depending on usecase.

Telemetry data types supported

Primarily for logs but later can be extended to traces and metrics.

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)

No response

Sponsor (optional)

No response

Additional context

No response

@legendary-acp legendary-acp added needs triage New item requiring triage Sponsor Needed New component seeking sponsor labels Sep 5, 2024
@legendary-acp
Copy link
Author

legendary-acp commented Sep 5, 2024

I would love to sponsor this if this sounds interesting

@atoulme
Copy link
Contributor

atoulme commented Sep 11, 2024

Thank you for submitting this proposal!

We already have telemetrygen and the otlpjsonfilereceiver to produce data according to a rate and signal, or a fixed static file. Would you please investigate if those provide enough coverage for your use case?

Only an approver or maintainer may be a sponsor of new components. Please review https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#adding-new-components for more information.

@atoulme atoulme removed the needs triage New item requiring triage label Sep 11, 2024
@legendary-acp
Copy link
Author

telemetrygen is exactly my use case. But I was wondering instead of making it a separate command can't we convert it into receiver component? Something like fluentbit dummy input does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sponsor Needed New component seeking sponsor
Projects
None yet
Development

No branches or pull requests

2 participants