You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/06/18 02:52:05 UTC

[jira] [Commented] (TS-4562) Plugin metrics only increment on net threads

    [ https://issues.apache.org/jira/browse/TS-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337454#comment-15337454 ] 

Leif Hedstrom commented on TS-4562:
-----------------------------------

That's not too surprising, since librecords collects metrics from well-known threads periodically. Not sure how you will fix this, but I guess every thread type would have to also have threads collection? How do you deal with transient threads?

> Plugin metrics only increment on net threads
> --------------------------------------------
>
>                 Key: TS-4562
>                 URL: https://issues.apache.org/jira/browse/TS-4562
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, Metrics, Plugins
>            Reporter: James Peach
>
> This was a surprising one to me. I have a background thread (created with {{TSThreadCreate}}) doing some periodic work, and I noticed that it wasn't incrementing its metrics. It turns out that metrics can only be incremented on an {{Ethread}}, which is a bit surprising and inconvenient.



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