Comments (3)
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.
@markushi do you mean the develop spec? the link is to develop docs, not product
Thanks for investigating in more detail!
from sentry-java.
released with 7.6.0 (excluding code location, which is currently blocked and tracked separately)
from sentry-java.
Related Issues (20)
- Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x6f276510 in tid 14600 (SentryAsyncConn) HOT 10
- Remove sentry-android-okhttp integration
- Overwrite TTFD measurement when API called too early HOT 1
- Uncaught exceptions do not go through BeforeSendCallback on Android HOT 3
- Some Sentry XML options (eg.: traces.user-interaction.enable) cause a C++ SIGSEV SIGFAULT error on API 21 HOT 5
- Docs: Data Collected section regarding PII for Android
- Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ HOT 5
- Missing documentation leads to uncertainty HOT 2
- Expose SentryInstrumentation as bean with @ConditionalOnMissingBean for easy configuration HOT 4
- Allow user to hook into Breadcrumb in SentryInstrumentation HOT 2
- Contexts.setTrace can't be null HOT 1
- Ability to filter by "user-perceived" unhandled exceptions/fatal errors generated by the Kotlin SDK HOT 5
- Make it possible to disable dedupe filter in spring boot HOT 6
- ApplicationNotResponding HOT 1
- Android profiler causes ANR
- SentryLogcatAdaptor consumes unnecessary time on main thread HOT 2
- How to implement SSL Pinning in Android HOT 5
- Performance powered by OpenTelemetry (POTel)
- ANR on NativeModuleListLoader.nativeLoadModuleList
- Detect if Sentry.init is called on Android instead of SentryAndroid.init HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-java.