Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
docs
|
|
api
Code generated by swaggo/swag.
|
Code generated by swaggo/swag. |
internal
|
|
agent
Package agent implements metrics gathering agent.
|
Package agent implements metrics gathering agent. |
compression
Package compression provides means to extract compressed data from net/http request and compress net/http response.
|
Package compression provides means to extract compressed data from net/http request and compress net/http response. |
config
Package config contains configuration parsing logic and provides metrics agent and server configuration objects.
|
Package config contains configuration parsing logic and provides metrics agent and server configuration objects. |
entity
Package entity provides common layer for different objects and constants used across the project.
|
Package entity provides common layer for different objects and constants used across the project. |
exporter
Package exporter provides means to export collected metrics using one of supported transports.
|
Package exporter provides means to export collected metrics using one of supported transports. |
grpcbackend
Package grpcbackend implements gRPC API for metrics collector server.
|
Package grpcbackend implements gRPC API for metrics collector server. |
grpcserver
Package grpcserver implements handy wrap around gRPC server to group common settings and tasks inside single entity.
|
Package grpcserver implements handy wrap around gRPC server to group common settings and tasks inside single entity. |
httpbackend
Package httpbackend implements REST API for metrics collector server.
|
Package httpbackend implements REST API for metrics collector server. |
httpserver
Package httpserver implements handy wrap around HTTP server to group common settings and tasks inside single entity.
|
Package httpserver implements handy wrap around HTTP server to group common settings and tasks inside single entity. |
logging
Package logging implements basic logging routine.
|
Package logging implements basic logging routine. |
monitoring
Package monitoring provides means to collect different types of metrics.
|
Package monitoring provides means to collect different types of metrics. |
prof
Package prof encapsulates pprof with attached HTTP server.
|
Package prof encapsulates pprof with attached HTTP server. |
recovery
Package recovery provides panic recovering utility which allows to resume goroutine execution if possible.
|
Package recovery provides panic recovering utility which allows to resume goroutine execution if possible. |
security
Package security implements security-related features such as signature creation and verification, secrets processing etc.
|
Package security implements security-related features such as signature creation and verification, secrets processing etc. |
server
Package server implements metrics collecting service.
|
Package server implements metrics collecting service. |
services
Package services contains implementationm of business logic for different scenarios.
|
Package services contains implementationm of business logic for different scenarios. |
storage
Package storage implements inetrface to diffent ways of storing metrics data.
|
Package storage implements inetrface to diffent ways of storing metrics data. |
validators
Package validators provides common validators for API requests.
|
Package validators provides common validators for API requests. |
pkg
|
|
grpcapi
Package grpcapi provides protobuf bindings to use with gRPC and various helper functions.
|
Package grpcapi provides protobuf bindings to use with gRPC and various helper functions. |
metrics
Package metrics provides client REST API for metrics collector (server).
|
Package metrics provides client REST API for metrics collector (server). |
noexit
Package noexit implement static analyzer which checks for use of 'os.Exit' in the main function of main package.
|
Package noexit implement static analyzer which checks for use of 'os.Exit' in the main function of main package. |
staticlint
Package staticlint implements multichecker static analyser with different linters.
|
Package staticlint implements multichecker static analyser with different linters. |
Click to show internal directories.
Click to hide internal directories.