Commit Graph

144 Commits

Author SHA1 Message Date
Cijo Thomas 8882c31c95
chore: Nit fixes to examples (#3002) 2025-05-23 10:56:42 -07:00
Cijo Thomas c811cde1ae
chore: Prepare release 0.30.0 (#2999) 2025-05-23 09:52:50 -07:00
Cijo Thomas bf22aeb7cc
fix: Remove pub fields and replace with getter method consistently across … (#2997) 2025-05-22 22:41:49 -07:00
Cijo Thomas d52dcef07d
fix: MetricExporters use getter methods instead of direct access (#2973)
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2025-05-20 10:07:07 -07:00
Cijo Thomas 8f4fe23bb1
fix: Avoid exposing HistogramBuckets and bounds (#2969) 2025-05-14 22:11:59 -07:00
Cijo Thomas 970bb1e4b6
fix: Avoid exposing implementation detail in public API for PushMetricExporter (#2968) 2025-05-14 10:15:50 -07:00
Utkarsh Umesan Pillai a4575af593
fix: Update ResourceMetrics public API (#2965)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-05-14 07:39:02 -07:00
Cijo Thomas 4f2de12350
fix: Pass immutable metrics to PushMetricExporter (#2947) 2025-04-30 10:01:52 -07:00
Cijo Thomas 409713d2d9
fix: Allow Histograms with no buckets (#2948) 2025-04-30 09:19:05 -07:00
Mohammad Vatandoost 5c60f12f04
feat: add shutdown with timeout for log exporter (#2909)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-04-21 18:17:42 -07:00
Mohammad Vatandoost af3a33e1b3
feat: Add shutdown with timeout for metric exporter (#2854)
Co-authored-by: Braden Steffaniak <BradenSteffaniak+github@gmail.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2025-04-01 08:02:17 -07:00
Björn Antonsson da2029ea17
perf: Run all benchmarks for shorter time (#2870) 2025-03-28 09:23:06 -07:00
Mindaugas Vinkelis f3e93a09ea
refactor: AggregatedMetrics as enum instead of dyn Aggregation (#2857)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-03-26 10:39:57 -07:00
Anton Grübel a711ae91c7
ci: add cargo machete and remove unused dependencies (#2864) 2025-03-25 15:01:24 -07:00
Cijo Thomas ad0552a6a9
chore: Prepare 0.29 release (#2844) 2025-03-21 17:10:01 -07:00
Cijo Thomas 68c9133867
fix: Remove mut ref requirement for shutdown LogExporter (#2764)
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
2025-03-10 14:58:15 -07:00
Anton Grübel d581ae170d
test: fix and enable doctests (#2730) 2025-02-28 12:46:30 -08:00
Dimitris Apostolou 81fea0747c
Avoid duplicate crates (#2703)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-02-25 08:07:55 -08:00
Lalit Kumar Bhasin a70affd3e3
Remove `mut` self reference from SpanExporter::export() method. (#2695) 2025-02-20 17:39:03 -08:00
Lalit Kumar Bhasin dc9a5c87d6
Span Exporter async native (#2685) 2025-02-20 00:16:48 -08:00
Shunsuke Tokunaga b5c9fdc409
Fix 2638: Use absolute URL for LICENSE/CHANGELOG in README (#2682)
Signed-off-by: Shunpoco <tkngsnsk313320@gmail.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-02-18 19:00:29 -08:00
Anton Grübel 1b1ba899cf
use workspace lint configuration (#2674) 2025-02-17 18:18:13 -08:00
Cijo Thomas 06ca4a12f2
Nit cleanup of method signature for async export (#2669) 2025-02-14 19:31:27 -08:00
Anton Grübel bc931b151f
make force_flush() in PushMetricExporter synchronous (#2663)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2025-02-14 16:37:29 -08:00
Anton Grübel 00ebc98e63
leverage native async trait in PushMetricExporter (#2662) 2025-02-13 17:45:14 -08:00
Lalit Kumar Bhasin 062c9d6589
Prepare v0.28.0 (#2635) 2025-02-10 09:52:55 -08:00
Cijo Thomas eeb367d933
Nit fixes to doc and tests (#2626) 2025-02-06 22:05:43 -08:00
Lalit Kumar Bhasin 420416f2bf
Logs SDK - use OTelSdkError, OTelSdkResult (#2625) 2025-02-06 16:33:35 -08:00
Cijo Thomas 41464d1c1a
Readme updates in prep for release (#2623) 2025-02-06 12:48:05 -08:00
Cijo Thomas dfeeac7a7d
Rename TracerProvider to SdkTracerProvider (#2614)
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2025-02-05 11:01:29 -08:00
Lalit Kumar Bhasin d01c1137cf
Trace subsystem - use OTelSdkResult/OTelSdkError (#2613) 2025-02-05 10:20:34 -08:00
Cijo Thomas fdc1151251
Rename LoggerProvider, Logger to SdkLoggerProvider, SdkLogger (#2612) 2025-02-05 07:37:45 -08:00
Cijo Thomas 4a76c96344
Use OTelSdkResult for metric flush (#2606) 2025-02-04 15:49:47 -08:00
Cijo Thomas 4cdc64fc77
Metric export to use common OTelSdkResult (#2604) 2025-02-04 13:08:09 -08:00
Cijo Thomas 6bdb4c69b6
Make a common Error enum for export shutdown and flush operations (#2603) 2025-02-04 12:00:57 -08:00
Cijo Thomas 9dfcff1f55
Use dedicated ShutdownResult for Metric SDK shutdown (#2573) 2025-01-31 10:20:22 -08:00
Cijo Thomas 144fdd961c
Print histogram bucket info in stdout exporter (#2569) 2025-01-28 12:09:20 -08:00
Cijo Thomas b3879b6781
Minor fixes, stdout to print scope info for logs (#2563) 2025-01-24 18:46:10 -08:00
Cijo Thomas 5935ccac93
Move span exporter module (#2540) 2025-01-23 11:34:10 -08:00
Cijo Thomas 3042aa0cac
Simplify metric::data imports (#2536) 2025-01-22 17:23:10 -08:00
Cijo Thomas 57d129734c
Refactor LogExporter mod (#2534) 2025-01-22 16:50:18 -08:00
Cijo Thomas d52fec7939
Minor cleanup in Stdout exporter (#2481) 2024-12-27 12:21:03 -08:00
Lalit Kumar Bhasin 23f6ae2992
Use native Rust support for async traits in LogExporter::export() method (11% improvement) (#2374)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
2024-12-20 08:03:49 -08:00
Cijo Thomas 80629c8161
Minor update to stdout exporter example to show log correlation (#2459) 2024-12-19 20:50:27 -08:00
Lalit Kumar Bhasin 4e5255401f
chore: cleanup unused dependencies (#2440)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-12-17 07:26:31 -08:00
Lalit Kumar Bhasin fbc3c70c27
Make LogRecord fields private and add getters for encapsulation (#2314) 2024-12-15 20:28:55 +05:30
David Pitoniak 9aeae0f03f
Feat/add resource builder (#2322)
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2024-12-13 12:16:03 -08:00
Lalit Kumar Bhasin ce550e36bb
bump MSRV to 1.75.0 for all crates (#2417) 2024-12-12 21:12:41 -08:00
Mindaugas Vinkelis dcaff0d7c1
Update CHANGELOGs for time changes in metrics aggregations (#2412)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2024-12-12 09:00:54 -08:00
Mindaugas Vinkelis e4cba9457e
Move time from DataPoint to Histogram/ExpoHistogram (#2411) 2024-12-11 07:27:43 -08:00