Skip to content

Commit 7d21e54

Browse files
gRPC headers (#148)
Included gRPC headers option for loki, bigquery and opentelemetry destinations. Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>
2 parents e6e3d8f + 3cd8b2a commit 7d21e54

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## headers()
2+
3+
| Type: | arrow list|
4+
|Default:| empty|
5+
6+
Available in syslog-ng OSE 4.8 and later versions.
7+
8+
*Description:* Adds custom gRPC headers to each RPC call. Currently only static header names and values are supported.
9+
10+
```config
11+
headers(
12+
"organization" => "org-name"
13+
"stream-name" => "org-stream"
14+
)
15+
```
16+
17+
> *Copyright © 2024 Axoflow*

doc/_admin-guide/070_Destinations/045_Google_bigQuery/000_bigquery_dest_options.md

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Available in {{ site.product.short_name }} 4.5 and later versions.
4444

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

47+
{% include doc/admin-guide/options/headers-gRPC.md %}
48+
4749
{% include doc/admin-guide/options/hook.md %}
4850

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

doc/_admin-guide/070_Destinations/125_Loki/001_Loki_options.md

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ destination {
6868

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

71+
{% include doc/admin-guide/options/headers-gRPC.md %}
72+
7173
{% include doc/admin-guide/options/gRPC-keep-alive.md %}
7274

7375
## labels()

doc/_admin-guide/070_Destinations/157_OpenTelemetry/000_opentelemetry-destination-options.md

+2
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,6 @@ Available in syslog-ng OSE 4.5 and later versions.
7575

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

78+
{% include doc/admin-guide/options/headers-gRPC.md %}
79+
7880
{% include doc/admin-guide/options/workers.md %}

0 commit comments

Comments
 (0)