Project

General

Profile

Actions

Support #2676

closed

Document stat_item

Added by msuraev over 6 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
libosmocore
Target version:
-
Start date:
11/23/2017
Due date:
% Done:

100%

Spec Reference:

Description

We have rate_ctr for counters which is somewhat documented in "Common variables" subsection of "Osmocom Control Interface" chapter is osmo-gsm-manuals. The stat_item.h is unfortunately not documented at all. It's very similar in use but unlike rate_ctr it store raw value of some metric. It can be accessed the same way as rate_ctr (see sh asciidoc) vty command and should be similarly documented.


Related issues

Related to libosmocore - Support #2677: Make stat_item available over ctrl interfaceNew11/23/2017

Actions
Actions #1

Updated by msuraev over 6 years ago

  • Related to Support #2677: Make stat_item available over ctrl interface added
Actions #2

Updated by laforge about 6 years ago

  • Assignee set to daniel
Actions #3

Updated by daniel almost 6 years ago

  • Status changed from New to In Progress

Just had a quick look at this and wanted to get osmo-gsm-manuals running locally, but for some reason xmllint doesn't download the docbook.dtd

xmllint --xinclude --postvalid --noout osmobts-vty-reference.xml
error : Unknown IO error
osmobts-vty-reference.xml:10: warning: failed to load external entity "http://docbook.org/xml/5.0/dtd/docbook.dtd" 
]>
  ^
error : Unknown IO error
warning: failed to load external entity "http://docbook.org/xml/5.0/dtd/docbook.dtd" 

I believe it has something to do with the server redirecting to https

Actions #4

Updated by laforge almost 6 years ago

On Mon, Mar 19, 2018 at 04:39:26PM +0000, daniel [REDMINE] wrote:

Just had a quick look at this and wanted to get osmo-gsm-manuals running locally, but for some reason xmllint doesn't download the docbook.dtd

yes. See https://twitter.com/LaF0rge/status/974998668846731265
and https://osmocom.org/issues/3072 as well as https://github.com/gentoo/dotnet/issues/178

I believe it has something to do with the server redirecting to https

workaround is to install docbook5-xml locally via apt

Actions #5

Updated by daniel about 4 years ago

  • Status changed from In Progress to Stalled
Actions #6

Updated by laforge almost 4 years ago

is this documented by now? If not, please revisit considering your upcoming work in that area.

Actions #7

Updated by laforge almost 4 years ago

Actions #8

Updated by laforge almost 3 years ago

  • Category set to libosmocore
Actions #9

Updated by daniel almost 3 years ago

  • Status changed from Stalled to Resolved
  • % Done changed from 0 to 100

This should all be documented now. counters-overview.adoc includes sections about rate_ctr and stat_item

https://gerrit.osmocom.org/c/libosmocore/+/24688 improves the structure of the implemented counters so that rate_ctr and stat_item descriptions all appear below the "Implemented Counters" chapter.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)