You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on
open-telemetry/opentelemetry-collector-contrib#26352,
I realized that the confighttp and configgrpc helpers lack links to the
configauth package. This PR fixes that and updates the list of known
authenticators.
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Please note that [`per_rpc_auth`](https://pkg.go.dev/google.golang.org/grpc#PerRPCCredentials) which allows the credentials to send for every RPC is now moved to become an [extension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/bearertokenauthextension). Note that this feature isn't about sending the headers only during the initial connection as an `authorization` header under the `headers` would do: this is sent for every RPC performed during an established connection.
31
32
@@ -35,6 +36,8 @@ Example:
35
36
exporters:
36
37
otlp:
37
38
endpoint: otelcol2:55690
39
+
auth:
40
+
authenticator: some-authenticator-extension
38
41
tls:
39
42
ca_file: ca.pem
40
43
cert_file: cert.pem
@@ -107,3 +110,4 @@ see [confignet README](../confignet/README.md).
- `endpoint`: Valid value syntax available [here](https://github.com/grpc/grpc/blob/master/doc/naming.md)
68
71
- [`tls`](../configtls/README.md)
72
+
- [`auth`](../configauth/README.md)
69
73
70
74
You can enable [`attribute processor`][attribute-processor] to append any http header to span's attribute using custom key. You also need to enable the "include_metadata"
0 commit comments