open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
2.9k stars 2.27k forks source link

New component: Doris Exporter #33479

Open joker-star-l opened 3 months ago

joker-star-l commented 3 months ago

The purpose and use-cases of the new component

The Doris Exporter would allow for the export of logs, metrics, and traces to Apache Doris, a modern data warehouse for real-time analytics. The Doris Exporter aims to provide a seamless way to export observability data from OpenTelemetry-collected applications to Doris. This component will enable users to take advantage of Doris’s powerful analytics capabilities to gain insights into their application’s performance and behavior.

Example configuration for the component

Configuration options:

Example:

exporters:
  doris:
    endpoint: http://doris:8030
    database: otel
    username: username
    password: password
    create_schema: true
    logs_table_name: otel_logs
    traces_table_name: otel_traces
    metrics_table_name: otel_metrics
    ttl: 7d
    timeout: 5s
    retry:
      enabled: true
      initial_interval: 5s
      max_interval: 30s
      max_elapsed_time: 100s

Telemetry data types supported

logs, metrics, and traces

Is this a vendor-specific component?

Code Owner(s)

@xiaokang, @joker-star-l

Sponsor (optional)

@atoulme

Additional context

No response

joker-star-l commented 3 months ago

Hello @atoulme . @AlchemyDing talked to you about the Doris Exporter before. Could we invite you to be the sponsor?

AlchemyDing commented 3 months ago

Hello @atoulme , Do you have time to follow this issue, We need sponsors to help us complete this issue. Thank you.

atoulme commented 3 months ago

Yes, I can sponsor this component. The integration seems similar to the clickhouse exporter.

AlchemyDing commented 3 months ago

Yes, I can sponsor this component. The integration seems similar to the clickhouse exporter.

Thank you for your sponsorship. doris and clickhouse are both data warehouses, but doris exporter and clickhouse exporter have many differences in their export methods, such as the jdbc used by clickhouse exporter, the http used by doris exporter, and so on.

atoulme commented 3 months ago

Right - just pointing out I have had some experience helping on this type of exporter before. After that, it's all you.

To start, please follow the steps in CONTRIBUTING.md and prepare a first PR with a minimal skeleton for the exporter.

joker-star-l commented 3 months ago

Right - just pointing out I have had some experience helping on this type of exporter before. After that, it's all you.

To start, please follow the steps in CONTRIBUTING.md and prepare a first PR with a minimal skeleton for the exporter.

Thank you! I will submit the PRs according to the CONTRIBUTING.md.

AlchemyDing commented 3 months ago

We plan to have @joker-star-l responsible for the submission of PR, and I will help him in this process and then participate in the code review of his PR.

github-actions[bot] commented 1 month ago

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.