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: Doris Exporter #33479

Open
3 tasks
joker-star-l opened this issue Jun 11, 2024 · 8 comments
Open
3 tasks

New component: Doris Exporter #33479

joker-star-l opened this issue Jun 11, 2024 · 8 comments
Labels
Accepted Component New component has been sponsored Stale

Comments

@joker-star-l
Copy link
Contributor

joker-star-l commented Jun 11, 2024

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:

  • endpoint (no default): The Doris FE address.
  • database (default otel): The database name.
  • username (default ): The authentication username.
  • password (default ): The authentication password.
  • create_schema (default true): Whether databases and tables are created automatically.
  • logs_table_name (default otel_logs): The table name for logs.
  • traces_table_name (default otel_traces): The table name for traces.
  • metrics_table_name (default otel_metrics): The table name for metrics.
  • ttl (default 0): The data time-to-live, 0 means no ttl.
  • timeout (default 5s): The timeout for each data send.
  • retry
    • enabled (default true): Whether retries are allowed.
    • initial_interval (default 5s): Retry wait time after the first failure. (Ignored if enabled is false.)
    • max_interval (default 30s): The upper bound on backoff. (Ignored if enabled is false.)
    • max_elapsed_time (default 100s): The maximum time spent trying to send a batch. (Ignored if enabled is false.)

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?

  • 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)

@xiaokang, @joker-star-l

Sponsor (optional)

@atoulme

Additional context

No response

@joker-star-l joker-star-l added needs triage New item requiring triage Sponsor Needed New component seeking sponsor labels Jun 11, 2024
@joker-star-l
Copy link
Contributor Author

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

@AlchemyDing
Copy link
Member

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

@atoulme atoulme added Accepted Component New component has been sponsored and removed Sponsor Needed New component seeking sponsor labels Jun 14, 2024
@atoulme
Copy link
Contributor

atoulme commented Jun 14, 2024

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

@AlchemyDing
Copy link
Member

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
Copy link
Contributor

atoulme commented Jun 14, 2024

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
Copy link
Contributor Author

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
Copy link
Member

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.

Copy link
Contributor

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.

@github-actions github-actions bot added the Stale label Aug 14, 2024
codeboten pushed a commit that referenced this issue Aug 27, 2024
First PR of New component: Doris Exporter.

**Link to tracking Issue:** #33479
mx-psi pushed a commit that referenced this issue Sep 11, 2024
**Description:** 

Second PR of New component: Doris Exporter. Implementation of traces.

**Link to tracking Issue:** #33479 

**Testing:** 

**Documentation:**
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this issue Sep 12, 2024
First PR of New component: Doris Exporter.

**Link to tracking Issue:** open-telemetry#33479
bogdandrutu pushed a commit that referenced this issue Sep 16, 2024
…t: Doris Exporter (#35150)

**Description:** <Describe what has changed.>

Second PR of New component: Doris Exporter. Implementation of logs.

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

**Link to tracking Issue:** #33479 

**Testing:** 

Tested via unit test.

**Documentation:** <Describe the documentation added.>

No additional documentation.
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 Stale
Projects
None yet
Development

No branches or pull requests

4 participants