Project

General

Profile

Actions

Feature #2550

closed

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

Added by laforge over 6 years ago. Updated over 6 years ago.

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

100%

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-testsResolvedmsuraev11/27/2017

Actions
Blocked by Cellular Network Infrastructure - Bug #2770: osmo-python-tests fails with both python-2.7 and 3.6 ?!?Closedmsuraev12/18/2017

Actions
Actions #1

Updated by laforge over 6 years ago

  • Assignee set to msuraev
Actions #2

Updated by laforge over 6 years ago

  • Priority changed from Normal to High
Actions #3

Updated by laforge over 6 years ago

  • Priority changed from High to Urgent
Actions #4

Updated by msuraev over 6 years ago

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

Actions #5

Updated by laforge over 6 years 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).

Actions #6

Updated by msuraev over 6 years 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.

Actions #7

Updated by msuraev over 6 years 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.

Actions #8

Updated by msuraev over 6 years ago

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

Updated by msuraev over 6 years ago

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

Updated by msuraev over 6 years ago

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

Updated by msuraev over 6 years ago

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

Updated by msuraev over 6 years ago

  • % Done changed from 50 to 80

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

Actions #13

Updated by msuraev over 6 years ago

  • Status changed from In Progress to Stalled
Actions #14

Updated by msuraev over 6 years 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

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)