Project

General

Profile

Feature #2550

example on how to periodically dump KPI/counter to CSV file

Added by laforge 10 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
10/06/2017
Due date:
% Done:

100%

Estimated time:
Resolution:
fixed
Spec Reference:

Description

We need to create some example script/tool that periodically obtains a number of KPIs/counters from one or more osmocom programs (via CTRL) and logs/dumps them to a CSV file.


Related issues

Related to Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testsResolved2017-11-27

Blocked by Cellular Network Infrastructure - Bug #2770: osmo-python-tests fails with both python-2.7 and 3.6 ?!?Closed2017-12-18

History

#1 Updated by laforge 9 months ago

  • Assignee set to msuraev

#2 Updated by laforge 9 months ago

  • Priority changed from Normal to High

#3 Updated by laforge 9 months ago

  • Priority changed from High to Urgent

#4 Updated by msuraev 8 months ago

Which language shall I use? Python? And to which repo shall I put this script?

#5 Updated by laforge 8 months ago

Yes, Python please.

I think if the tool is generic, it should go in libosmocore/contrib. If it's specific to one particular application, it should go into the repo of that program (e.g. osmo-bsc.git).

#6 Updated by msuraev 8 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Gerrit 5017 with the implementation of necessary introspection function has been sent for review.

#7 Updated by msuraev 8 months ago

  • % Done changed from 10 to 50

The C side is implemented in gerrit 5023, the python side is in gerrit 5029. The prerequisites were merged already, waiting for review/merge. Related documentation update is in gerrit 5014.

#8 Updated by msuraev 8 months ago

  • Related to Feature #2684: add gerrit tests to osmo-python-tests added

#9 Updated by msuraev 7 months ago

  • Related to Bug #2770: osmo-python-tests fails with both python-2.7 and 3.6 ?!? added

#10 Updated by msuraev 7 months ago

  • Related to deleted (Bug #2770: osmo-python-tests fails with both python-2.7 and 3.6 ?!?)

#11 Updated by msuraev 7 months ago

  • Blocked by Bug #2770: osmo-python-tests fails with both python-2.7 and 3.6 ?!? added

#12 Updated by msuraev 7 months ago

  • % Done changed from 50 to 80

Prerequisite and related patches were merged, gerrit 5029 is rebased onto latest master.

#13 Updated by msuraev 6 months ago

  • Status changed from In Progress to Stalled

#14 Updated by msuraev 6 months ago

  • Status changed from Stalled to Resolved
  • % Done changed from 80 to 100
  • Resolution set to fixed

Merged to osmo-python-tests master as scripts/osmo_rate_ctr2csv.py

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)