feature: Software Quality Assurance and Telemetry Proposal #45
Labels
enhancement
New feature or request
Needs More Info
The issue is acknowledged, but requires more information for an objective understanding
Feature Request
Summary
The goal is to provide the fastest and most reliable open-source services through StrataSTOR. To achieve this, it is proposed to collect metrics on endpoint performance and send fully anonymized telemetry reports ("anonymous usage statistics") to a centralized server. This data will help analyze how changes impact performance and stability, while also identifying potential issues.
The telemetry system is designed with the following principles:
This proposal aims to outline the data collection and processing pipeline, use cases, and the privacy measures in place.
Data Processing Pipeline
The telemetry system will operate in the following steps:
telemetry.stratastor.io
).Objectives
The telemetry pipeline is proposed to achieve the following goals:
Privacy Measures
To ensure user privacy, the telemetry system incorporates the following safeguards:
0.0.0.0
before transmission.Identification
To group clusters or installations, a SHA-256 hash is created from installation-specific metadata (e.g., host and port). Additionally, each running instance generates a cryptographically secure random identifier (UUID v4) during startup.
Metrics Collected
System Metrics
goarch
: Target architecture (e.g., amd64).goos
: Operating system (e.g., linux, darwin).numCpu
: Number of available CPUs.runtimeVersion
: Version of the Go runtime.version
: Binary version.hash
: Git hash of the binary.buildTime
: Build timestamp.Request Metrics
host
: Request URL host name.path
: An allowlisted part of the request path (e.g.,/api/v1/resource
).method
: HTTP method (e.g., GET, POST).latency
: Execution time in milliseconds.size
: Response size.status
: HTTP status code.Real-World Use Cases
Implementing this telemetry system could enable outcomes like:
Opt-Out Mechanism
To ensure flexibility, the telemetry system will include an opt-out mechanism:
--sqa-opt-out
) to disable telemetry collection.Source Code and Transparency
The source code for the telemetry package will be open-source and made publicly available within the StrataSTOR ecosystem.
This proposal aims to establish a robust telemetry and quality assurance pipeline to ensure continuous improvement, better performance, and reliability for StrataSTOR's open-source services.
The text was updated successfully, but these errors were encountered: