Skip to content

Commit

Permalink
Misc changes
Browse files Browse the repository at this point in the history
* Add metric for batch size (how many entries are added to the write queue)
* Remove `OstrichProcessor` from default processors

Author: @franklinhu
Pull Request: #35
URL: #35
  • Loading branch information
Franklin Hu committed Jun 18, 2012
1 parent 7602367 commit dc22e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class ScribeCollectorService(config: ZipkinCollectorConfig, val writeQueue: Writ
Ok
} else if (writeQueue.add(scribeMessages)) {
Stats.incr("collector.batches_added_to_queue")
Stats.addMetric("collector.batch_size", scribeMessages.size)
Ok
} else {
Stats.incr("collector.pushback")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ trait ZipkinCollectorConfig extends ZipkinConfig[ZipkinCollector] {
new SequenceProcessor[Span](
new FanoutProcessor[Span]({
new StorageProcessor(storage) ::
new IndexProcessor(index, indexingFilter) ::
new OstrichProcessor(serviceStatsPrefix)
new IndexProcessor(index, indexingFilter)
})
)

Expand Down

0 comments on commit dc22e0e

Please sign in to comment.