The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

OpenTracing::Implementation::DataDog::Utils - DataDog Utilities

EXPORTS OK

The following subroutines can be imported into your namespance:

nano_seconds

To turn floatingpoint times into number of nano seconds

random_bigint

Returns a random 63 bits Math::BigInt. Some architectures do not support native 64 bit integers, but that is what DataDog expects.

NOTE: special care needs to be taken when rendering to JSON, as the GO language is not forgiving for double qouted values when using big numbers. Use <JSON-allow_bignum>>.

SEE ALSO

OpenTracing::Implementation::DataDog

Sending traces to DataDog using Agent.

AUTHOR

Theo van Hoesel <tvanhoesel@perceptyx.com>

COPYRIGHT AND LICENSE

'OpenTracing::Implementation::DataDog' is Copyright (C) 2019 .. 2021, Perceptyx Inc

This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

This package is distributed in the hope that it will be useful, but it is provided "as is" and without any express or implied warranties.

For details, see the full text of the license in the file LICENSE.