simon

package module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

README

simon

Observability load testing and simulation, under construction.

Observability

  • Logs
  • Metrics
  • Traces
  • Profiling
  • Health checks
    • Liveness
    • Readiness
    • Other probes

Deployment

  • Kubernetes deployment
  • Helm chart

Environment variables

Name Description Example Default
METRICS_ADDR Address with metrics and pprof localhost:9464 To prometheus addr
PPROF_ROUTES List of enabled pprof routes cmdline,profile profile, symbol, trace, goroutine, heap, threadcreate, block
OTEL_LOG_LEVEL Log level debug info
OTEL_EXPORTER_PROMETHEUS_HOST Host of prometheus addr 0.0.0.0 localhost
OTEL_EXPORTER_PROMETHEUS_PORT Port of prometheus addr 9090 9464
OTEL_METRICS_EXPORTER Metrics exporter to use prometheus none
OTEL_TRACES_EXPORTER Traces exporter to use jaeger none
OTEL_EXPORTER_JAEGER_AGENT_HOST Jaeger exporter host jaeger.svc.local localhost
OTEL_EXPORTER_JAEGER_AGENT_PORT Jaeger exporter port 6831 6831
OTEL_SERVICE_NAME OTEL Service name app unknown_service
OTEL_RESOURCE_ATTRIBUTES OTEL Resource attributes service.namespace=pfm
OTEL_PROPAGATORS OTEL Propagators (only tracecontext and baggage supported, none to disable) none tracecontext,baggage

Documentation

Overview

Package simon implements observability testing utilities.

Directories

Path Synopsis
cmd
internal
app
Package app implements OTEL, prometheus, graceful shutdown and other common application features for pfm projects.
Package app implements OTEL, prometheus, graceful shutdown and other common application features for pfm projects.
otelenv
Package otelenv provides helpers for working with OTEL_RESOURCE_ATTRIBUTES.
Package otelenv provides helpers for working with OTEL_RESOURCE_ATTRIBUTES.
zctx
Package zctx is a context-aware zap logger.
Package zctx is a context-aware zap logger.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL