An open API service indexing awesome lists of open source software.

https://github.com/r0mdau/quicmetrics

Receive (QUIC) and aggregate fleeting metrics (from FaaS)
https://github.com/r0mdau/quicmetrics

fleeting go golang metrics prometheus quic quic-server

Last synced: 5 months ago
JSON representation

Receive (QUIC) and aggregate fleeting metrics (from FaaS)

Awesome Lists containing this project

README

          

# quicmetrics

Receive and aggregate fleeting metrics (from FaaS).

This proof of concept uses:
- [QUIC](https://peering.google.com/#/learn-more/quic) without http3 as a transport protocol
- statsd string format for metrics

In the `client/main.go` example, we send multiple metric counter, to confirm it is summed in the prometheus endpoint output.

Library used:
- [quic-go](https://github.com/lucas-clemente/quic-go), a QUIC implementation in pure go
- [go-dogstatsd-parser](https://github.com/narqo/go-dogstatsd-parser), a standalone parser for DogStatsD metrics protocol
- [prometheus/client_golang](github.com/prometheus/client_golang), the Go client library for prometheus
- [opentelemetry-go](https://github.com/open-telemetry/opentelemetry-go), the Go implementation of OpenTelemetry

## Getting started

Launch the server

go run main.go

Send sample metrics

go run client/main.go

View prometheus metrics

curl localhost:2223/metrics