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

gRPC External Exporter Configuration Options Missing #123

Open
natemollica-nm opened this issue Feb 23, 2024 · 0 comments · May be fixed by #124
Open

gRPC External Exporter Configuration Options Missing #123

natemollica-nm opened this issue Feb 23, 2024 · 0 comments · May be fixed by #124

Comments

@natemollica-nm
Copy link
Collaborator

Description

While attempting to configure consul-k8s integration to datadog using Datadog's built-in OTLP receiver options for gRPC and HTTP, I found that configuring the gRPC external endpoint outside of the helm value overrides was not possible as it was with the HTTP endpoint.

Datadog Operator Values

apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
  name: datadog
spec:
  features:
    # Sets: DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT:  0.0.0.0:4317                                                                                                                                              │
    #       DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT:  0.0.0.0:4318
    otlp:
      receiver:
        protocols:
          # Set to "0.0.0.0" as per the below reference docs
          # ref: https://docs.datadoghq.com/opentelemetry/otlp_ingest_in_the_agent/?tab=host#enabling-otlp-ingestion-on-the-datadog-agent
          grpc:
            enabled: true
            endpoint: "0.0.0.0:4317"

Consul Overrides

  metrics:
    enabled: true
    enableAgentMetrics: true
    datadog:
      enabled: true
      otlp:
        enabled: true
        protocol: "grpc"
telemetryCollector:
  enabled: true

Potential Resolution

  • Addition of a similar environment variable configuration option to that CO_OTEL_HTTP_ENDPOINT for gRPC receivers
  • Addition of a similar CLI parameter flag to that of http-collector-endpoint for gRPC receivers

Version

Image: hashicorp/consul-telemetry-collector:0.0.2

@natemollica-nm natemollica-nm linked a pull request Feb 24, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant