You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2016/08/19 19:43:20 UTC

[jira] [Updated] (TS-4561) C++ API only lets you create TS_RECORDDATATYPE_INT metrics

     [ https://issues.apache.org/jira/browse/TS-4561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-4561:
--------------------------------
    Fix Version/s:     (was: 7.0.0)
                   7.1.0

> C++ API only lets you create TS_RECORDDATATYPE_INT metrics
> ----------------------------------------------------------
>
>                 Key: TS-4561
>                 URL: https://issues.apache.org/jira/browse/TS-4561
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: CPP API
>            Reporter: James Peach
>            Assignee: Brian Geffon
>             Fix For: 7.1.0
>
>
> In {{Stat::init}}, the metric type is hardcoded to {{TS_RECORDDATATYPE_INT}}, which is supposed to be an instantaneous integral type (ie. gauge). The most useful value would be counter, but really the caller should be able to specify the kind of {{Stat}} to create. String metrics are also very useful, though this doesn't appear to be supported by TSAPI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)