telemetrygolang.org/x/telemetry/internal Directories

internal/ directory

Directories

PathSynopsis
internal/chartconfigThe chartconfig package defines configuration that specifies both the data that is uploaded to telemetry.go.dev, and the resulting charts that are rendered.
internal/configpackage config provides methods for loading and querying a telemetry upload config file.
internal/configgenPackage configgen generates the upload config file stored in the config.json file of golang.org/x/telemetry/config based on the chartconfig stored in config.txt.
internal/configstorePackage configstore abstracts interaction with the telemetry config server.
internal/configtestPackage configtest provides a helper for testing using a local proxy containing a fake upload config.
internal/content
internal/counterPackage internal/counter implements the internals of the public counter package.
internal/crashmonitor
internal/mmapThe mmap package provides an abstraction for memory mapping files on different platforms.
internal/proxyPackage proxy provides functions for writing module data to a directory in proxy format, so that it can be used as a module proxy by setting GOPROXY="file://<dir>".
internal/regtestPackage regtest provides helpers for end-to-end testing involving counter and upload packages.
internal/telemetryPackage telemetry manages the telemetry mode file.
internal/testenvPackage testenv contains helper functions for skipping tests based on which tools are present in the environment.
internal/unionfsPackage unionfs allows multiple file systems to be read as a union.
internal/upload
Version
v0.0.0-20250214215356-6f9b61db478c (latest)
Published
Feb 14, 2025
Platform
linux/amd64
Last checked
3 days ago

Tools for package owners.