Skip to content

Commit

Permalink
more example text
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd committed Apr 2, 2024
1 parent 4729b9a commit 4d8ca12
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
22 changes: 22 additions & 0 deletions collector/examples/shutdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,25 @@ generator to exercise this pipeline. For example, to send traces:
```
telemetrygen traces --otlp-insecure --duration 1000s
```

To test debug-level logging, change the service configurations, e.g.,:

```
logs:
level: debug
```

To test a condition where max-stream-lifetime is too short, lower
keepalive `max_connection_age_grace`, e.g.,

```
keepalive:
server_parameters:
max_connection_age: 5s
max_connection_age_grace: 10s
```





8 changes: 6 additions & 2 deletions collector/examples/shutdown/edge-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This collector listens on the standard OTLP/gRPC port (4317)
# and forwards to an OTel-Arrow on port 8100.

receivers:
otelarrow:

Expand All @@ -13,8 +16,9 @@ exporters:

wait_for_ready: true

debug:

arrow:
max_stream_lifetime: 120s

service:
pipelines:
traces:
Expand Down
6 changes: 5 additions & 1 deletion collector/examples/shutdown/middle-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This collector listens for OTLP/gRPC on port 8100 and forwards to an
# OTel-Arrow on port 8101.

receivers:
otelarrow:
protocols:
Expand All @@ -20,7 +23,8 @@ exporters:

wait_for_ready: true

debug:
arrow:
max_stream_lifetime: 120s

service:
pipelines:
Expand Down
5 changes: 4 additions & 1 deletion collector/examples/shutdown/saas-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This collector listens for OTLP/gRPC on port 8101 and forwards to a
# debug exporter.

receivers:
otelarrow:
protocols:
Expand All @@ -6,7 +9,7 @@ receivers:

keepalive:
server_parameters:
max_connection_age: 10s
max_connection_age: 5s
max_connection_age_grace: 60s

exporters:
Expand Down

0 comments on commit 4d8ca12

Please sign in to comment.