Skip to content

Commit

Permalink
Update otel connector docs to include compression param.
Browse files Browse the repository at this point in the history
Signed-off-by: Daksh Chauhan <[email protected]>
  • Loading branch information
dak-x authored and Licenser committed Jul 20, 2022
1 parent 215f2f3 commit 6218454
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions docs/reference/connectors/otel.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,24 @@ define connector my_otel from otel_client
with
config = {
"url": "127.0.0.1:4317", # Connect to localhost via gRPC to port 4317
# Enable trace event support ( default: true )
# "trace": false,
# Enable metrics event support ( default: true )
# "metrics": false,
# Enable logs event support ( default: true )
# "logs": false,
# Enables compression on payloads. ( supported: gzip ; default: none )
# "compression" : gzip,
},
reconnect = {
"retry": {
"interval_ms": 100, # Retry on disconnect every 100ms
"growth_rate": 2, # Double interval for each attempt
"max_retries": 3, # Try no more than 3 times to reconnect
# Enable trace event support ( default: true )
# "trace": false,
# Enable metrics event support ( default: true )
# "metrics": false,
# Enable logs event support ( default: true )
# "logs": false,
}
}
end;
Expand Down

0 comments on commit 6218454

Please sign in to comment.