Commit Graph

237 Commits

Author SHA1 Message Date
Cijo Thomas edb0d5857f
docs: Modify examples to show best practices - reuse tracer (#2709) 2025-02-26 12:08:01 -08:00
Cijo Thomas 11ed8e0af7
docs: Fix tracing grpc example (#2710) 2025-02-26 11:05:55 -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
Anton Grübel 37efb88e55
move TraceError, TraceResult and ExportError to opentelemetry-sdk (#2680)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-02-20 11:11:02 -08:00
Anton Grübel 1b1ba899cf
use workspace lint configuration (#2674) 2025-02-17 18:18:13 -08:00
Cijo Thomas 2997c4bb89
Show using tracing layer filters in examples (#2667) 2025-02-14 09:44:33 -08:00
tison 32a43caada
build: drop unused tonic server deps (#2666)
Signed-off-by: tison <wander4096@gmail.com>
2025-02-14 06:59:42 -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
Cijo Thomas fdc1151251
Rename LoggerProvider, Logger to SdkLoggerProvider, SdkLogger (#2612) 2025-02-05 07:37:45 -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 5e6b3d622e
Add easier way to add periodicreader to meterprovider (#2597) 2025-02-03 13:50:23 -08:00
Cijo Thomas 9dfcff1f55
Use dedicated ShutdownResult for Metric SDK shutdown (#2573) 2025-01-31 10:20:22 -08:00
Cijo Thomas 36f9caf45e
Fix changelog and few spell check issues (#2474)
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
2024-12-26 11:56:36 -08:00
Lalit Kumar Bhasin 1f354674d6
BatchSpanProcessor with dedicated thread. (#2456) 2024-12-23 11:15:48 -08:00
Scott Gerring 0fc0764ffd
chore: Test sync exporters (#2455) 2024-12-19 07:47:23 -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
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
Cijo Thomas 238a8f2a74
Make PeriodicReader with own Thread the default (#2403) 2024-12-10 16:08:00 -08:00
Cijo Thomas 540cdb3613
Remove self diagnostics example (#2404) 2024-12-10 11:53:13 -08:00
Cijo Thomas 2030f8f77f
Modify logs basic example to use tracing (#2397)
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2024-12-09 09:38:48 -08:00
David Pitoniak 6d1a765c41
chore: remove the global::shutdown_tracer_provider function (#2369) 2024-12-04 06:03:46 -08:00
Cijo Thomas b7276d824e
Minor Internal logs (#2361) 2024-11-27 11:45:03 -08:00
Cijo Thomas 195dea8070
Few doc updates for opentelemetry (#2353) 2024-11-27 10:04:27 -08:00
Cijo Thomas 1cecaeabf4
Add few internal logs for Metrics sdks (#2350) 2024-11-26 14:05:26 -08:00
Cijo Thomas 8c9babbda8
Minor additions to internal logs (#2330) 2024-11-23 12:52:32 -08:00
David Pitoniak 849778d524
Refactor/deprecate trace config (#2303) 2024-11-18 18:11:46 -08:00
Raphael Deem 3ac2d9fb64
cleanup imports in examples (#2300) 2024-11-14 07:49:32 -08:00
Utkarsh Umesan Pillai 648710edf1
Move Views under feature flag (#2298) 2024-11-11 16:05:00 -08:00
Cijo Thomas 845cf21e51
Move Temporality enum opentelemetry_sdk::metrics::data:: to opentelemetry_sdk::metrics:: (#2289)
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
2024-11-08 13:49:26 -08:00
Cijo Thomas dd7b53159f
Simplified self-diagnostics example (#2274) 2024-11-05 08:59:21 -08:00
Lalit Kumar Bhasin 91f44ff249
Remove Global Error handler. (#2260) 2024-11-04 18:12:00 -08:00
Lalit Kumar Bhasin 6a079eb977
nit - collector config fix for self-diagnostic example (#2271) 2024-11-04 10:35:37 -08:00
David Pitoniak 1b2d841e37
refactor: InMemoryLogsExporter non plural (#2258)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2024-10-28 20:48:34 -07:00
David Pitoniak 17f4627ab8
Refactor/metric exporters non plural (#2255)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2024-10-27 20:26:15 -07:00
David Pitoniak 80dc298cf4
feat: replace OtlpPipeline with exporter builders (#2221)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-10-23 21:20:10 -07:00
Utkarsh Umesan Pillai a7de955e16
[Metrics API] Rename `init` to `build` (#2232) 2024-10-23 18:33:37 -07:00
David Pitoniak 4852a5e323
example: add temporality selector option to metrics-basic (#2217)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-10-18 07:39:13 -07:00
David Pitoniak 3f5c230ecb
Chore/metrics advanced (#2204)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-10-13 17:30:48 -07:00
Cijo Thomas a941c0a82a
Remove comments that are not relevant anymore (#2171) 2024-10-04 07:43:16 -07:00
Lalit Kumar Bhasin 2ff7ec0380
Improve internal opentelemetry logging (#2128)
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
2024-10-03 20:09:36 -07:00
Lalit Kumar Bhasin 81a95e308b
Improve internal opentelemetry logging - directly using tracing mcros (#2152)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2024-09-30 15:31:13 -07:00
Utkarsh Umesan Pillai c8136d9b46
Add `with_boundaries` hint API for explicit bucket histograms (#2135)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-09-24 10:55:40 -07:00
Lalit Kumar Bhasin 6c4f50ee51
msrv patch for tokio-stream, and other lint changes (#2086) 2024-09-09 11:24:41 -07:00
Cijo Thomas a2c8c7dea1
Simplified stdout exporter for logs and traces (#2040)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
2024-08-26 10:57:23 -07:00
Aumetra Weisman 621a5a9737
Upgrade to hyper/http v1.0 (#1674)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2024-07-12 07:27:25 -07:00
Lalit Kumar Bhasin 0cfc8d95c3
Add self-diagnostics example (#1846)
Example to demonstrate using tracing as a global error handler for errors generated by the OpenTelemetry Metrics SDK. In this example, measurements are recorded to exceed the cardinality limit, which triggers the error to be logged. This error is then emitted to `stdout` using `opentelemetry-appender-tracing` subscriber.
2024-07-01 12:57:21 +02:00
Utkarsh Umesan Pillai 16410d7555
Use arrays instead of vec for creating resource in examples (#1900) 2024-06-27 17:06:18 -07:00
Utkarsh Umesan Pillai da368d4085
Simplify tracing-grpc example (#1886) 2024-06-17 15:55:13 -07:00
Zhongyang Wu 82fa485359
feat: clean up trace SDK APIs (#1755)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-05-30 10:04:08 -07:00
Utkarsh Umesan Pillai b1a80eed9f
OtlpTracePipeline fixed to no longer set global provider (#1812)
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-05-24 13:22:29 -07:00