Skip to content

Commit

Permalink
gRPC headers (#148)
Browse files Browse the repository at this point in the history
Included gRPC headers option for loki, bigquery and opentelemetry
destinations.

Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>
  • Loading branch information
zsoltgyulai94 authored Oct 17, 2024
2 parents e6e3d8f + 3cd8b2a commit 7d21e54
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _includes/doc/admin-guide/options/headers-gRPC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## headers()

| Type: | arrow list|
|Default:| empty|

Available in syslog-ng OSE 4.8 and later versions.

*Description:* Adds custom gRPC headers to each RPC call. Currently only static header names and values are supported.

```config
headers(
"organization" => "org-name"
"stream-name" => "org-stream"
)
```

> *Copyright © 2024 Axoflow*
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Available in {{ site.product.short_name }} 4.5 and later versions.

{% include doc/admin-guide/options/frac-digits.md %}

{% include doc/admin-guide/options/headers-gRPC.md %}

{% include doc/admin-guide/options/hook.md %}

{% include doc/admin-guide/options/keep-alive.md %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ destination {

{% include doc/admin-guide/options/channel-args.md %}

{% include doc/admin-guide/options/headers-gRPC.md %}

{% include doc/admin-guide/options/gRPC-keep-alive.md %}

## labels()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ Available in syslog-ng OSE 4.5 and later versions.

*Description:* This option enables compression in gRPC requests. Currently, only the deflate compression method is supported.

{% include doc/admin-guide/options/headers-gRPC.md %}

{% include doc/admin-guide/options/workers.md %}

0 comments on commit 7d21e54

Please sign in to comment.