Commit Graph

26 Commits

Author SHA1 Message Date
Marten Seemann
f96923b5b2 logging: rename VersionNumber to Version (#4621) 2024-08-03 19:32:11 -07:00
Marten Seemann
8cae5d80ea metrics: create a new tracer on every call of DefaultConnectionTracer (#4560) 2024-06-07 07:20:20 -07:00
Marten Seemann
4d0562d13c metrics: add an example Grafana dashboard (#4559)
* metrics: add an example Grafana dashboard

* metrics: rename Handshake Duration to Handshake Latency

Co-authored-by: sukun <sukunrt@gmail.com>

---------

Co-authored-by: sukun <sukunrt@gmail.com>
2024-06-06 02:13:35 -07:00
Marten Seemann
91221b4a05 metrics: simplify constructor for the default connection tracer (#4555) 2024-06-05 03:16:18 -07:00
Marten Seemann
a620f1a214 metrics: save the reason a connection was closed 2024-06-04 13:24:25 +08:00
Marten Seemann
685c1322fd metrics: measure the handshake duration 2024-06-04 13:24:25 +08:00
Marten Seemann
2968b93ea8 metrics: add a very basic ConnectionTracer 2024-06-04 13:24:24 +08:00
Marten Seemann
a555a14ae3 metrics: make the Prometheus registerer configurable 2024-06-04 13:19:30 +08:00
Marten Seemann
e66a925d64 metrics: add a basic setup, collect metrics for the server 2024-06-04 13:19:29 +08:00
Marten Seemann
aa68b3015d remove the metrics package
Recording every sent and received packet in OpenCensus is quite expensive.
Arguably, the metrics needs depend on the application, so that's where the
implementation of a metrics collector should live anyway.
2021-02-05 16:38:39 +08:00
Marten Seemann
d04662a964 add a RestoredTransportParameters method to the logging interface 2021-01-15 17:13:46 +08:00
Marten Seemann
ff1f433c36 add a generic Log() function to the connection tracer 2020-12-06 09:33:38 +07:00
Marten Seemann
8752576f26 run gofumpt, enable the gofumpt linter 2020-10-26 09:33:35 +07:00
Marten Seemann
8417b67f83 replace panics in qlog and metrics type stringers 2020-10-05 13:47:58 +07:00
Marten Seemann
876ab1d531 introduce a function to distinguish between IPv4 and IPv6 addresses 2020-09-14 17:01:34 +07:00
Marten Seemann
dbaacd49bd add a logging event for dropping 1-RTT keys 2020-09-09 23:53:47 +07:00
Marten Seemann
ee048090e2 add a metric for PTOs 2020-07-27 11:55:05 +07:00
Marten Seemann
0b7efe10d1 trace congestion state changes 2020-07-23 11:53:59 +07:00
Marten Seemann
c8255cbaf5 Merge pull request #2676 from lucas-clemente/conn-close-metric
add a metric for closed connections
2020-07-20 12:36:48 +07:00
Marten Seemann
8a21cf7489 add a metric for closed connections 2020-07-20 11:13:59 +07:00
Marten Seemann
0c551c893c trace packets that are sent outside of a connection 2020-07-16 08:20:36 +07:00
Marten Seemann
dc245ca6a3 trace dropped packets in the server 2020-07-15 20:33:58 +07:00
Marten Seemann
f5f6665a19 add a metric for sent packets 2020-07-15 18:49:32 +07:00
Marten Seemann
60570dc3e5 add a metric for lost packets 2020-07-13 10:41:36 +07:00
Marten Seemann
ee24d3899e simplify the Tracer interface by combining the TracerFor... methods 2020-07-11 13:22:52 +07:00
Marten Seemann
f9eb10d942 add a metrics package using OpenCensus, trace connections 2020-07-11 09:39:36 +07:00