otel fixes
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user