Support #2676
closedDocument stat_item
100%
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
Updated by msuraev over 6 years ago
- Related to Support #2677: Make stat_item available over ctrl interface added
Updated by daniel over 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
Updated by laforge over 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
Updated by laforge about 4 years ago
is this documented by now? If not, please revisit considering your upcoming work in that area.
Updated by daniel about 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.