Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop #1915

Merged
merged 83 commits into from
Mar 18, 2024
Merged

Merge develop #1915

merged 83 commits into from
Mar 18, 2024

Conversation

xgouchet
Copy link
Member

No description provided.

0xnm and others added 30 commits February 8, 2024 12:21
…l-threads-in-case-of-crash

RUM-2928: Report all threads in case of crash
…batch-age-in-telemetry-is-positive

RUM-1633 Drop batch telemetry where duration or age have negative values
…bal-attributes-for-stopped-views

RUM-3012 Do not update RUM View global properties after the view is stopped
Add new error source types to RUM schema
Also provide a way to override the native crash type by setting `_dd.native_source_type` in the additional configuration.
…pe-override

RUM-3150 Set source_type on native crashes to `ndk`
…0-in-develop

Merge `release/2.6.0` in `develop`
…-applicationcontext

RUM-3180: Avoid crash when applicationContext is null
Fix missing source in telemetry json schema
…1-into-develop

Merge release 2.6.1 changes into `develop` branch
xgouchet and others added 19 commits February 27, 2024 15:15
Send `source_type` as a property on `error` when the attribute `_dd.error.source_type` is set on the log.
feat: Add source_type when sent from cross platform logs
…urce-endpoint

RUM-2708: Enable Resource Endpoint by default
…-drawables

RUM-3276: Fix image resizing issue
Add a `Logs.addAttribute` and `Logs.removeAttribute` function to add attributes to all logs generated by Loggers created from a specific Core.  Individual loggers and log events override global attributes.

These log attributes are also sent on unhandled exceptions and added to errors forwarded to RUM.

Still need to add attributes to NDK crash logs.
Co-authored-by: Nikita Ogorodnikov <4046447+0xnm@users.noreply.github.com>
Suppress unchecked cast warnings in tests.
chore: Add signed commits requirement to CONTRIBUTING.md
…butes

RUM-3068 Add support for global attributes on logs
@xgouchet xgouchet requested review from a team as code owners March 14, 2024 14:29
@codecov-commenter
Copy link

Codecov Report

Merging #1915 (7b32a80) into feature/sr-web-view-support (dec970a) will decrease coverage by 0.06%.
The diff coverage is 80.48%.

Additional details and impacted files
@@                       Coverage Diff                       @@
##           feature/sr-web-view-support    #1915      +/-   ##
===============================================================
- Coverage                        83.67%   83.61%   -0.06%     
===============================================================
  Files                              473      483      +10     
  Lines                            16778    17197     +419     
  Branches                          2552     2573      +21     
===============================================================
+ Hits                             14038    14378     +340     
- Misses                            2023     2097      +74     
- Partials                           717      722       +5     
Files Coverage Δ
...ore/src/main/kotlin/com/datadog/android/Datadog.kt 76.25% <ø> (ø)
...tlin/com/datadog/android/api/net/RequestFactory.kt 100.00% <ø> (ø)
...com/datadog/android/core/feature/event/JvmCrash.kt 100.00% <100.00%> (ø)
...m/datadog/android/core/feature/event/ThreadDump.kt 100.00% <100.00%> (ø)
...n/com/datadog/android/core/internal/CoreFeature.kt 88.35% <100.00%> (+0.09%) ⬆️
...id/core/internal/metrics/BatchMetricsDispatcher.kt 98.61% <100.00%> (+0.08%) ⬆️
...in/kotlin/com/datadog/android/log/LogAttributes.kt 0.00% <ø> (ø)
...dog/android/ndk/internal/DatadogNdkCrashHandler.kt 81.36% <100.00%> (+0.54%) ⬆️
...android/log/internal/domain/DatadogLogGenerator.kt 97.97% <100.00%> (+0.21%) ⬆️
...atadog/android/log/internal/domain/LogGenerator.kt 100.00% <100.00%> (+20.00%) ⬆️
... and 52 more

... and 14 files with indirect coverage changes

@xgouchet xgouchet merged commit df4c3ca into feature/sr-web-view-support Mar 18, 2024
23 checks passed
@xgouchet xgouchet deleted the xgouchet/merge_develop branch March 18, 2024 08:53
@xgouchet xgouchet added this to the 2.8.x milestone Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants