clgo

module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT

README

clgo Test

Opinionated but Re-usable Go libraries for the Crewlinker platform

usage

  • Setup the development environment mage -v dev
  • Run the full test suite: mage -v test
  • To release a new version: mage -v release v0.1.1

backlog

  • SHOULD update github.com/caarlos0/env/v6 to v8
  • MUST include a mechanism to provide isolated schemas to tests, using a "versioned" migration strategy in a migraiton directory
  • MUST include tracing, and re-add the test for contextual postgres logging (from the old 'back' repo)
  • SHOULD upgrade otel packages when otelsql package is supported
  • SHOULD add the Atlasgo github integration for checking migrations
  • SHOULD Allow configuration of the postgres application name to diagnose connections
  • SHOULD allow iam authentication to a database
  • SHOULD test our clserve.Handle with http2 server/client
  • SHOULD test our clserve.Handle with websocket hijack/upgrade
  • COULD develop metric middleware for aws client so we can measure (average) latency (per service?)?

Correct Otel dependencies

OTEL is still a bit of a moving target. So if the dependencies break after running go mod tidy. This is the set of constraints that should make it right.

	go.opentelemetry.io/contrib/detectors/aws/ecs v1.12.0
	go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws v0.37.0
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.37.0
	go.opentelemetry.io/contrib/propagators/aws v1.12.0
	go.opentelemetry.io/otel v1.11.2
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.34.0
	go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.2
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.2
	go.opentelemetry.io/otel/metric v0.34.0
	go.opentelemetry.io/otel/sdk v1.11.2
	go.opentelemetry.io/otel/sdk/metric v0.34.0
	go.opentelemetry.io/otel/trace v1.11.2

Directories

Path Synopsis
Package claws provides the official AWS SDK (v2)
Package claws provides the official AWS SDK (v2)
Package clconfig provides re-usable configuration utilities
Package clconfig provides re-usable configuration utilities
Package cllambda providees reusable fx code for building AWS Lambda infra
Package cllambda providees reusable fx code for building AWS Lambda infra
Package clotel provides re-usable components for OpenTelemetry integration
Package clotel provides re-usable components for OpenTelemetry integration
Package clpostgres provides re-usable components for using PostgreSQL
Package clpostgres provides re-usable components for using PostgreSQL
Package clredis provides reusable components for using Redis
Package clredis provides reusable components for using Redis
Package clserve provides buffered HTTP response serving to support error handling
Package clserve provides buffered HTTP response serving to support error handling
Package clzap provides logging using the zap logging library
Package clzap provides logging using the zap logging library
Package main defines automation targets using Magefile
Package main defines automation targets using Magefile

Jump to

Keyboard shortcuts

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