Commit Graph

31 Commits

Author SHA1 Message Date
Anton Grübel 1b1ba899cf
use workspace lint configuration (#2674) 2025-02-17 18:18:13 -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
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
Raphael Deem 3ac2d9fb64
cleanup imports in examples (#2300) 2024-11-14 07:49:32 -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
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
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
Cijo Thomas a941c0a82a
Remove comments that are not relevant anymore (#2171) 2024-10-04 07:43:16 -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
Utkarsh Umesan Pillai 16410d7555
Use arrays instead of vec for creating resource in examples (#1900) 2024-06-27 17:06:18 -07:00
Cijo Thomas 98741c7cc7
[Metrics] - Remove unit abstraction (#1821)
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
2024-05-24 09:35:29 -07:00
Cijo Thomas 161d28d34e
Metrics examples to stop using global shutdown (#1742) 2024-05-11 13:24:53 -07:00
Cijo Thomas bf7b4a0f20
Modify metrics example to shutdown without global shutdown method (#1739) 2024-05-11 12:13:36 -07:00
Cijo Thomas 845f2f04d1
Simpler usage of Observable instruments (#1715) 2024-05-07 20:01:46 -07:00
Utkarsh Umesan Pillai 0b78252d24
Stabilize Gauge (#1701) 2024-05-01 21:39:02 -04:00
Zhongyang Wu 9fe943d535
chore: fix rust 1.77 lints (#1641) 2024-03-25 11:53:39 -04:00
Lalit Kumar Bhasin bae8fb3321
Add global::meter_provider_shutdown (#1623)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
2024-03-15 21:33:12 -04:00
Cijo Thomas c60a178f3a
Use consistent style of passing attributes to metrics (#1518) 2024-02-08 12:50:40 -05:00
Matthew Shapiro aba0af5d66
Revert "Allow precreation of AttributeSets for metrics (#1421)" (#1512) 2024-02-06 17:00:48 -05:00
Matthew Shapiro 16fd1abb87
Allow precreation of AttributeSets for metrics (#1421) 2024-01-24 15:10:30 -05:00
Lalit Kumar Bhasin 038b91b651
Add experimental synchronous gauge (#1410) 2023-12-12 15:23:42 -05:00
Shaun Cox 5d5296b138
More distinct naming of metrics constructs in the SDK (#1328) 2023-11-08 11:12:26 -05:00
Shaun Cox 759556d590
Change opentelemetry crate to contain only the API, not the SDK #1186 (#1199) 2023-08-23 21:01:28 -07:00
Cijo Thomas 2c3017e347
Pretty print stdout in examples (#1212)
* Modify examples to pretty print stdout

* a

* a

* fmt
2023-08-23 08:48:37 -07:00
Cijo Thomas 6962621fb8
Start adding metrics advanced (view) examples (#1170) 2023-07-28 21:55:11 -07:00
Cijo Thomas a08c6406bb
Remove Context from sync instruments (#1076) 2023-06-15 12:51:48 -07:00
Cijo Thomas bdb777bf72
Add basic example showing how to use various metric instruments (#1062) 2023-05-15 09:53:49 -07:00