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

Add optional gateway collector for the opentelemetry-kube-stack #1325

Open
rogercoll opened this issue Sep 2, 2024 · 0 comments
Open

Add optional gateway collector for the opentelemetry-kube-stack #1325

rogercoll opened this issue Sep 2, 2024 · 0 comments
Labels
chart:kube-stack enhancement New feature or request

Comments

@rogercoll
Copy link
Contributor

rogercoll commented Sep 2, 2024

The current kube-stack Chart does not provide any specific collector to be used as a data gateway. The alternative is to configure the daemonset collectors to be used as gateways for OTLP data. Although this works fine, adding an optional gateway collector would include additional benefits:

  • Separation of concerns: Decouples data ingestion from processing. It allows the Daemonset and Standalone collectors to focus on their specific tasks (e.g., collecting infrastructure metrics, logs, and events) without having to handle the complexity of processing and routing data to different backends. The daemonset would be seen as an agent.
  • Isolation and simplified networking configuration.
    • Network issues with backends would be easier to troubleshoot.
  • Centralized data aggregation/enrichment
  • Easier scale mechanism: Instead of being tied to pod per node doing data aggregations (daemon), the gateway would be a deployment that can scale independently of the number of nodes (or taint the gateway collector specific hardware pods).
  • Load distribution: It would handle all the OTLP load currently done by the daemonset collectors. An auto-scaling replicaset could be used based on the workload.

Expected result

This chart installs the OpenTelemetry Operator and two collector pools with the following features:

    Daemonset collector
        Kubernetes infrastructure metrics
        Applications logs
        OTLP trace receiver (Moved to the Gateway collector if enabled)
        Kubernetes resource enrichment
    Standalone collector
        Kubernetes events
        Cluster metrics
    (Optional) Gateway collector
        OTLP trace/metrics/logs receiver
        OTLP trace/metrics/logs exporter
@TylerHelmuth TylerHelmuth added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart:kube-stack enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants