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

Tracer not recognized in streams #2103

Closed
sananguliyev opened this issue Sep 11, 2023 · 1 comment
Closed

Tracer not recognized in streams #2103

sananguliyev opened this issue Sep 11, 2023 · 1 comment
Labels

Comments

@sananguliyev
Copy link

Hi,

First of all thanks for quick review and approval of secure mode of open telemetry connector. I was trying to use tracer in streams mode but get an error "lint":"test.yml(16,1) field tracer not recognised" when I run benthos streams test.yml

Content of test.yml file:

input:
  http_server: 
    address: 0.0.0.0:8080
    path: /some-endpoint
    allowed_verbs:
      - POST  
    sync_response:
      status: 200
      headers:
        Content-Type: application/json

output:
  sync_response: {}


tracer:
  open_telemetry_collector:
    http:
      - url: "some-collector:4318"
        secure: true
@Jeffail
Copy link
Collaborator

Jeffail commented Sep 11, 2023

Hey @sananguliyev, tracer, logger, metrics and http fields are set in the general -c config, not the individual stream configs, docs are here: https://www.benthos.dev/docs/guides/streams_mode/about

Closing: #2026

@Jeffail Jeffail closed this as completed Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants