Fix drop tracking of aggregator drop_original metrics (#5632)
This commit is contained in:
parent
0f21373439
commit
5e6374c19b
|
@ -364,6 +364,8 @@ func (a *Agent) runAggregators(
|
||||||
|
|
||||||
if !dropOriginal {
|
if !dropOriginal {
|
||||||
dst <- metric
|
dst <- metric
|
||||||
|
} else {
|
||||||
|
metric.Drop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cancel()
|
cancel()
|
||||||
|
|
|
@ -17,7 +17,7 @@ services:
|
||||||
- KAFKA_ADVERTISED_HOST_NAME=localhost
|
- KAFKA_ADVERTISED_HOST_NAME=localhost
|
||||||
- KAFKA_ADVERTISED_PORT=9092
|
- KAFKA_ADVERTISED_PORT=9092
|
||||||
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
|
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
|
||||||
- KAFKA_CREATE_TOPICS="test:1:1"
|
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
|
||||||
- JAVA_OPTS="-Xms256m -Xmx256m"
|
- JAVA_OPTS="-Xms256m -Xmx256m"
|
||||||
ports:
|
ports:
|
||||||
- "9092:9092"
|
- "9092:9092"
|
||||||
|
|
Loading…
Reference in New Issue