queue collector exports on disk and retry without a time limit
This commit is contained in:
parent
701efadfe4
commit
eac7f2a7c1
1 changed files with 85 additions and 0 deletions
|
|
@ -1264,6 +1264,7 @@ in
|
|||
${if upstream.protocol == "grpc" then "otlp" else "otlphttp"} = {
|
||||
endpoint = upstream.endpoint;
|
||||
}
|
||||
// import ../otel-export-queue.nix
|
||||
// lib.optionalAttrs (upstream.headersCredential != null) {
|
||||
# Interpolated by the collector from its environment at
|
||||
# runtime, never by nix: `EnvironmentFile` below is what
|
||||
|
|
@ -1296,6 +1297,7 @@ in
|
|||
logs_endpoint =
|
||||
logsPushUrl + "?_msg_field=MESSAGE&_stream_fields=_HOSTNAME,_MACHINE_ID,_SYSTEMD_UNIT";
|
||||
}
|
||||
// import ../otel-export-queue.nix
|
||||
// lib.optionalAttrs haveCollectorSecret {
|
||||
auth.authenticator = pushAuthenticator "victorialogs";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue