Github user zwoop commented on the issue:
https://github.com/apache/trafficserver/pull/1456
Yes, if there are subtle differences like this, we should break them out
accordingly, and then make an aggregated "sum" metrics in the Lua
metrics.config.
It almost sounds like a bug / misfeature that the H2 connection is not
included in the proxy.process.http.total_incoming_connections. And it's very
inconsistent with other metrics; Whereas these two connection metrics works as
you describe (independent), the request metrics are not. E.g.
Sending 4 HTTP/2 request, I see this:
```
./bin/traffic_ctl metric get proxy.process.http2.total_client_streams
proxy.process.https.incoming_requests proxy.process.http.incoming_requests
proxy.process.http2.total_client_streams 4
proxy.process.https.incoming_requests 4
proxy.process.http.incoming_requests 4
```
Note how each H2 stream is counted as an HTTPS request, as well as an HTTP
request (I'm guessing because of how H2 uses HTTP internally). This seems
rather inconsistent to me, but does make some sense I guess
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---