coopdatadog

package module
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 4 Imported by: 0

README

Coop Datadog Go package

Test Build

Plug and play package that wraps base functionally and initialization of Datadog Service.

  • APM, StatsD Initialization
  • StatsD metrics unification

Supported middleware to correlate/extend traceability and logs in Datadog.

  • gRPC Unary Server
  • HTTP - Echo

Documentation

There is detailed documentation stored in docs.

Mocks

To generate or update mocks use tools Eitri or use directly Mockhandler

User documentation

User documentation is build using TechDocs and published to Inventory.

To list the commands available for the TechDocs image:

docker compose run --rm help

For more information see the TechDocs Engineering Image.

Documentation validation

To Validate changed documentation:

docker compose run --rm techdocs validate

To validate all documentation:

docker compose run --rm techdocs validate MARKDOWN_FILES=docs/
Documentation preview

To preview the documentation:

docker compose up techdocs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GracefulDatadogShutdown

func GracefulDatadogShutdown()

GracefulDatadogShutdown of executed parallel processes

func StartDatadog

func StartDatadog(cfg config.DatadogParameters, enableExtraProfiling, isConnectionSocket bool) error

StartDatadog parallel process to collect data for Datadog. enableExtraProfiling flag enables more optional profilers not recommended for production. isConnectionSocket flag related to Datadog connection type, it supports HTTP or socket - values will be used from config.DatadogParameters

Types

This section is empty.

Directories

Path Synopsis
generated/mocks/DataDog/datadog-go/statsd
Package mock_statsd is a generated GoMock package.
Package mock_statsd is a generated GoMock package.
generated/mocks/labstack/echo/v4
Package mock_echo is a generated GoMock package.
Package mock_echo is a generated GoMock package.
generated/mocks/metric
Package mock_metric is a generated GoMock package.
Package mock_metric is a generated GoMock package.
middleware

Jump to

Keyboard shortcuts

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