Author Topic: Initialize stats  (Read 2613 times)

Davidgue

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
    • Email
Initialize stats
« on: April 28, 2008, 20:19:45 »
Hi!

What's the best way to initialize Queuemetrics statistics?

A simple "delete from queue_log" would be enough?

I don't want to loose all my settings, agents, queues and call outcomes definitions.

After some testing, I would like to start in "real world", and I don't want to deal with all the test calls I have in the reports now.

Thanks,
David.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Initialize stats
« Reply #1 on: April 29, 2008, 11:21:36 »
Well basically you do not need to "initialize" stats, as you always run a report for a specified period of time.

If you really do and are running SQL storage, here is how:
1. stop qloaderd
2. truncate queue_log table
3. rotate queue_log file in Asterisk
4. restart qloaderd