v1.8.0-rc.1: Added metrics and traces
Pre-releaseNew Feature: Added OTEL Tracing, Metrics and Pyroscope
As a wish to seriously improve the performance and memory-safety of fc2-live-dl-go
, supports for OTEL and Pyroscope is added.
OTEL and Pyroscope are solutions for YOU to monitor and profile the program. No data is sent to us.
OpenTelemetry
OpenTelemetry provides an API that allows you to collect traces and metrics from the application.
By setting these environment variables:
OTEL_EXPORTER_OTLP_TRACES_ENABLED=true/false
OTEL_EXPORTER_OTLP_METRICS_ENABLED=true/false
You enable push-based telemetry. The telemetry must be send to a OTEL collector like the OTEL Agent or Grafana Alloy.
The parameters of OTEL can be changed using standard environment variables given by the OpenTelemetry project.
Prometheus
In combination with OTEL, we are also exposing the metrics at 0.0.0.0:3000/metrics
. This comes included with OTEL.
Pyroscope
In addition to net/http/pprof
, github.com/grafana/pyroscope-go/godeltaprof/http/pprof
has been added to enable precise continous profiling via Pyroscope.
The endpoint is still 0.0.0.0:3000/debug/pprof
.
Grafana Dashboard
A Grafana Dashboard is now available in the grafana
directory
Fixes
- Fixed a memory leak when calling
C.CString
during concatenation. - Ignore empty files and dirs during concat.
- Fixed Windows build and added basic Windows testing.
Other Changes
- Notifications about a new version will now be sent to the user.
- Container images are now signed.
- The quality
3Mbps
is now the default. We recommend enabling "quality upgrade". - The CI is now releasing on GitHub. No more manual releases.
- Bumped Go to 1.22.
SHA256 Checksums
b2b3dc053d1b50e7405b82b16ed67426001c0ab41907cbbe8bd44f2da0786846 fc2-live-dl-go-darwin-amd64
f71e459a150ec3abec54f00716c75e2e2ca862f80a3ab7da8c25d50f5a17af04 fc2-live-dl-go-darwin-arm64
7449624cf5ff4b63e6782ba87128f75eb9421aaf432d5a5d9cc39e0d76a09ad9 fc2-live-dl-go-linux-amd64
843fa8f2c0e55eb28acfc627121989ccf5070b12bf04110d8db5081cd4f3b723 fc2-live-dl-go-linux-arm64
ca610ba8eecaae9053ed0a6d9b6c1eac50043e24f94dffee64aa9ca9214a680e fc2-live-dl-go-linux-riscv64
e723217461fa754695ba7b98cd9023d929174310d43cd2f6ca369897b948541b fc2-live-dl-go-windows-amd64.exe
Full Changelog: v1.7.1...v1.8.0-rc.1