Skip to content

Commit

Permalink
Fix drop tracking of aggregator drop_original metrics (influxdata#5632)
Browse files Browse the repository at this point in the history
  • Loading branch information
ushuz authored and Mathieu Lecarme committed Apr 17, 2020
1 parent 2740d66 commit 6b37e7f
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 @@ -364,6 +364,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 6b37e7f

Please sign in to comment.