otel fixes

This commit is contained in:
2026-05-05 00:36:35 -04:00
parent f5d0f97400
commit b056a52273
2 changed files with 13 additions and 8 deletions
+10 -5
View File
@@ -72,10 +72,15 @@
processors = {
batch = { };
# Attach hostname and other system resource attributes
"resourcedetection/system" = {
detectors = [ "system" ];
system.hostname_sources = [ "os" ];
# Attach hostname using the standard resource processor
resource = {
attributes = [
{
action = "upsert";
key = "host.name";
value = "palatine-hill";
}
];
};
};
@@ -97,7 +102,7 @@
"prometheus"
];
processors = [
"resourcedetection/system"
"resource"
"batch"
];
exporters = [ "otlp/honeycomb" ];