Skip to content

Commit

Permalink
Fix drop tracking of aggregator drop_original metrics (#5632)
Browse files Browse the repository at this point in the history

(cherry picked from commit 5e6374c)
  • Loading branch information
ushuz authored and danielnelson committed Mar 27, 2019
1 parent ae6652b commit 581cf07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ func (a *Agent) runAggregators(

if !dropOriginal {
dst <- metric
} else {
metric.Drop()
}
}
cancel()
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- KAFKA_ADVERTISED_HOST_NAME=localhost
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_CREATE_TOPICS="test:1:1"
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
- JAVA_OPTS="-Xms256m -Xmx256m"
ports:
- "9092:9092"
Expand All @@ -38,7 +38,7 @@ services:
- "3306:3306"
memcached:
image: memcached
ports:
ports:
- "11211:11211"
pgbouncer:
image: mbed/pgbouncer
Expand Down

0 comments on commit 581cf07

Please sign in to comment.