Skip to content

Commit ae1c610

Browse files
committed
docs: Add gRPC block documentation for loki.source.awsfirehose
The loki.source.awsfirehose component uses the shared ServerConfig (internal/component/common/net/config.go), which always binds both HTTP and gRPC listeners regardless of whether the blocks are configured. The docs only referenced the http block, leaving the gRPC port undocumented -- the same root cause addressed for loki.source.api in #5919. Add the grpc and grpc > tls rows to the Blocks table, add the grpc reference, and include the shared loki-server-grpc.md file, matching the pattern used by loki.source.api, loki.source.heroku, and loki.source.gcplog.
1 parent f30d9ae commit ae1c610

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/sources/reference/components/loki/loki.source.awsfirehose.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,21 @@ You can use the following blocks with `loki.source.awsfirehose`:
107107

108108
| Name | Description | Required |
109109
| --------------------- | -------------------------------------------------- | -------- |
110+
| [`grpc`][grpc] | Configures the gRPC server that receives requests. | no |
111+
| `grpc` > [`tls`][tls] | Configures TLS for the gRPC server. | no |
110112
| [`http`][http] | Configures the HTTP server that receives requests. | no |
111113
| `http` > [`tls`][tls] | Configures TLS for the HTTP server. | no |
112114

113115
[http]: #http
116+
[grpc]: #grpc
114117
[tls]: #tls
115118

116119
{{< /docs/alloy-config >}}
117120

121+
### `grpc`
122+
123+
{{< docs/shared lookup="reference/components/loki-server-grpc.md" source="alloy" version="<ALLOY_VERSION>" >}}
124+
118125
### `http`
119126

120127
{{< docs/shared lookup="reference/components/server-http.md" source="alloy" version="<ALLOY_VERSION>" >}}

0 commit comments

Comments
 (0)