github.com/Jeffail/benthos/v3@v3.65.0/resources/docker/tracing/a.yaml (about)

     1  http:
     2    enabled: false
     3  
     4  input:
     5    generate:
     6      interval: "1s"
     7      mapping: |
     8        root = {
     9          "locations": [
    10            {"name": "Seattle", "state": "WA"},
    11            {"name": "New York", "state": "NY"},
    12            {"name": "Bellevue", "state": "WA"},
    13            {"name": "Olympia", "state": "WA"}
    14          ]
    15        }
    16  
    17  pipeline:
    18    processors:
    19      - bloblang: '{"Cities":this.locations.filter(this.state == "WA").map_each(this.name).sort().join(", ")}'
    20  
    21  output:
    22    kafka:
    23      addresses: [ localhost:9092 ]
    24      topic: a_results
    25      client_id: a_client
    26      max_in_flight: 100
    27      inject_tracing_map: 'meta = this'
    28  
    29  tracer:
    30    jaeger:
    31      agent_address: 'localhost:6831'
    32      service_name: benthos_a
    33      tags:
    34        pipeline: my_tracing_example