Git Product home page Git Product logo

datadogsharp's Introduction

I'm Yoshifumi Kawai, CEO/CTO of Cysharp, Inc.

I have published a lot of C# OSS.
Currently, I continue to publish OSS at github.com/Cysharp, so please look there for the latest production OSS.
I strive to provide state-of-the-art libraries that are always mindful of performance and modern APIs.
As the original author of MessagePack for C#, I also continue to maintain it in the MessagePack-CSharp Organization.

If you want to support me, please see GitHub Sponsors

This is currently my primary focus for C# OSS.

Serializer

Framework

For GameEngine

Toolkit

datadogsharp's People

Contributors

kralizek avatar neuecc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

datadogsharp's Issues

Add support for Dependency Injection

Both DatadogStats and TracingManager use a Singleton approach but it makes very difficult to test classes using this library requiring the usage of an (unnecessary) adapter class.

If it's welcome, I can work on a PR to solve the issue.

Azure App Service Usage

Hi, we are using Azure App Service plan, and which does not have a Statsd server. Anyway to go around this, other than installing the DD agent on a VM somewhere?

TracingManager and ParentId

Hello i'm doing some test with APM client and i do not understand why in the root Span you force ParentId = null. On my test i'm working with a distributed monitoring, so i always receive a root information from an other platform / system but with ParentId = null i'm not able to link the first Span with the right parent. I'm using the BeginTracingto initialize the context.

I mean this code snippet in Dispose method in TracingManager class:

var span = new Span
            {
                TraceId = TraceId,
                SpanId = SpanId,
                Name = Name,
                Resource = Resource,
                Service = Service,
                Type = Type,
                Start = start,
                Duration = Span.ToNanoseconds(stopwatch.Elapsed),
                ParentId = null,
                Error = error,
                Meta = meta,
            };

Is it a right behaviour or a bug ?

At the moment i fixed with this code:

ParentId = this.parentId,

Support configuring the client from environment variables

All of the official Datadog dogstatsd clients can now be configured via standard environment variables. As the maintainer of the C# dogstatsd library, could you port the same functionality to this client? We would prefer that configuration be consistent across client libraries.

Sample changes from the C# implementation can be found here: DataDog/dogstatsd-csharp-client#78

Let me know if you have any questions about the code or the feature more generally.

Thanks,

Ahmed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.