Commit Graph

41 Commits

Author SHA1 Message Date
Cijo Thomas 8882c31c95
chore: Nit fixes to examples (#3002) 2025-05-23 10:56:42 -07:00
Anton Grübel 8c29ca7e21
chore: leverage fallback resolver for MSRV check (#2993) 2025-05-22 08:39:53 -07:00
Cijo Thomas 10cf02c458
chore: Fix changelogs and few nits (#2929) 2025-04-13 18:24:26 -07:00
Björn Antonsson da2029ea17
perf: Run all benchmarks for shorter time (#2870) 2025-03-28 09:23:06 -07: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 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
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 195dea8070
Few doc updates for opentelemetry (#2353) 2024-11-27 10:04:27 -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
Rodolfo P A f31c4dd1b1
Workspace dependencies (#1457)
Adds shared dependencies to the workspace.
It improves the experience while managing the dependencies.

## Changes

Picked the shared dependencies of the member projects and used added
then to the workspace dependencies, https://crates.io/crates/work_dep
can help with that.

## Merge requirement checklist

* [ ]
[CONTRIBUTING](https://github.com/open-telemetry/opentelemetry-rust/blob/main/CONTRIBUTING.md)
guidelines followed
* [ ] Unit tests added/updated (if applicable)
* [ ] Appropriate `CHANGELOG.md` files updated for non-trivial,
user-facing changes
* [ ] Changes in public API reviewed (if applicable)
2023-12-30 15:46:34 -08: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
Harold Dost 4bf6609e9d
Adding Copyright Holders (#1112)
* Adding Copyright Holders

Using the Copyright holder of "The OpenTelemetry Authors" as
recommended.

* Update the LICENSE Files Per the CNCF Guidelines:
  https://github.com/cncf/foundation/blob/main/copyright-notices.md#copyright-notices
* Don't add authors to Cargo.toml
  * Per [RFC 3052](https://rust-lang.github.io/rfcs/3052-optional-authors-field.html)
  * Remove from opentelemetry-proto.

Signed-off-by: Harold Dost <h.dost@criteo.com>

* Update LICENSE

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>

---------

Signed-off-by: Harold Dost <h.dost@criteo.com>
Co-authored-by: Julian Tescher <julian@tescher.me>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2023-06-16 11:39:25 -07:00
Cijo Thomas a08c6406bb
Remove Context from sync instruments (#1076) 2023-06-15 12:51:48 -07:00
Shaun eb9049264a
remove unused dependencies (#1095) 2023-06-06 22:34:20 -07:00
Cijo Thomas bdb777bf72
Add basic example showing how to use various metric instruments (#1062) 2023-05-15 09:53:49 -07:00