nixos/opentelemetry-collector: fix tests

This commit is contained in:
Weijia Wang 2024-09-11 14:09:20 +02:00
parent 3dffdb5ce3
commit 031eb8aa79

View File

@ -12,7 +12,9 @@ in {
enable = true;
settings = {
exporters.logging.verbosity = "detailed";
receivers.otlp.protocols.http = {};
receivers.otlp.protocols = {
http.endpoint = "0.0.0.0:${toString port}";
};
service = {
pipelines.logs = {
receivers = [ "otlp" ];