Telemetry and Protobuf
summary
Prototype emits logs, metrics and traces from Dyalog APL to an OpenTelemetry collector running in Docker, using JSON over HTTP (collector also accepts gRPC/Protobuf); demo shows an observable gauge for workspace memory, spans with linked log entries and timings, and data visible in the Microsoft Aspire dashboard. A Protobuf workflow is implemented by generating APL classes via a Protobuf APL plugin called from protoc (initially done in Python then bootstrapped to APL), and parsing serialized messages succeeds.
AI-written summary · about
chapters (14)
- 0:00Collecting and transmitting data about performance, usage and health of a distributed system
- 0:48Logs
- 1:11Metrics such as resource usage
- 1:28Tracing a request throughout the system
- 2:12Telemetry setup
- 2:43OpenTelemetry
- 4:30A prototype for Dyalog APL
- 6:32Demo using the Microsoft Aspire dashboard
- 15:03Protobuf format for serialising data
- 16:36Protobuf vs. JSON
- 18:11Usage overview
- 18:48Advantages and disadvantages
- 19:24Languages that support protobuf
- 20:20Demo serialise data from python and read in APL
