Giter VIP home page Giter VIP logo

Comments (3)

markushi avatar markushi commented on June 2, 2024

Having looked into the docs and the .NET implementation I want to highlight a few development aspects:

  • The product specs describe the overall API behavior best
  • We not only need to provide APIs on the SDK side, but also need some basic logic to aggregate metrics into 10s buckets
  • We need some async flush functionality to send past buckets to our backend
  • There's a new envelope item, type = statsd for sending metrics
  • We have to keep thread safety (metrics can be emitted by any thread, reading and cleaning up happens every 10s) in mind
  • There's a timing API which connects spans with metrics AND creates gauge metrics aka "summaries" of metrics on a span level
  • When capturing metrics, stack traces are used to determine a code location for an emitted metric, if feasible at all, some caching needs to be done

To get going fast let's split this up into smaller PRs / tasks:

  • Implement basic API, add protocol definitions for sending statsd envelope items
  • Add support for code locations, linking metrics to source code
  • Add support for the timing API, connecting spans with metrics and creating gauges

from sentry-java.

smeubank avatar smeubank commented on June 2, 2024

The product specs describe the overall API behavior best

@markushi do you mean the develop spec? the link is to develop docs, not product

Thanks for investigating in more detail!

from sentry-java.

kahest avatar kahest commented on June 2, 2024

released with 7.6.0 (excluding code location, which is currently blocked and tracked separately)

from sentry-java.

Related Issues (20)

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.