datadoglib

command module
v0.0.0-...-17d6607 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 12 Imported by: 0

README

datadoglib

Datadog simulation tool / mock

Usage

go run main.go

Flags:
  • port - overrides the application default port (8083)
  • random_no_auth - chance to mock a failed auth error and get a 403 response. float 0.0 to 1.0
  • random_slow_receive - chance for a request to hang for a while before responding. float 0.0 to 1.0
  • random_bad_response - chance to receive a status 500 response. float 0.0 to 1.0
  • random_network_lag - maximum random network lag on receiving request and responding, msec
  • disable_json_parsing - print out raw json payload without unmarshalling, bool

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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