Commit Graph

213 Commits

Author SHA1 Message Date
Marc Alff 3dfcf93c41
[EXPORTER] Rework OTLP/HTTP and OTLP/GRPC exporter options (#2388) 2023-11-13 14:27:29 -08:00
Marc Alff 17da6d87c1
[API] Add a new AddLink() operation to Span (#2380) 2023-10-27 18:27:57 +02:00
Harish Shan 045be9c02b
[BUILD] DLL export interface for Metrics (#2344) 2023-10-23 23:42:28 +02:00
Marc Alff f2cbf02ec1
[SEMANTIC CONVENTION] Upgrade to semconv 1.22.0 (#2368) 2023-10-16 09:38:30 +02:00
WenTao Ou 0d1326a02e
Support protobuf 3.22 or upper (#2163) 2023-08-11 14:56:50 -07:00
Tom Tan 8c82d24c20
Mark logs signal as stable API/SDK (#2229) 2023-08-01 00:18:57 -07:00
Marc Alff 8f97cab686
[SEMANTIC CONVENTIONS] Upgrade to 1.21.0 (#2248) 2023-07-28 15:06:57 -07:00
Lalit Kumar Bhasin a15a9b8101
[Metrics SDK] Add unit to Instrument selection criteria (#2236) 2023-07-20 20:53:32 +02:00
Marc Alff 8b613188a3
[SDK] TracerProvider should own TracerContext, not share it (#2221) 2023-07-08 16:07:38 +02:00
Marc Alff 6ecd201f95
[SDK] MeterProvider should own MeterContext, not share it (#2218) 2023-07-06 22:46:53 +02:00
Marc Alff 42709f4575
[REMOVAL] Remove the jaeger exporter (#2031) 2023-07-02 20:16:10 +02:00
Marc Alff d0452f829f
[SDK] Provide builders to avoid exposing Metrics SDK internals (#2189) 2023-06-28 19:08:42 +02:00
Cengizhan Pasaoglu cfcda5728e
[SDK] Header files cleanup, use forward declarations (#2182) 2023-06-21 00:11:31 +02:00
Lalit Kumar Bhasin 22d0448ebc
Fix: #2100 Building shared libraries with version suffix, along with the symbolic link (#2109) 2023-04-22 10:09:00 +02:00
Marc Alff 0e52dfdb15
[EXPORTER] Add OTLP HTTP SSL support (#1793) 2023-04-05 09:59:15 -07:00
WenTao Ou 9b222f2af1
Add `ForceFlush` for all `LogRecordExporter`s and `SpanExporter`s. (#2000) 2023-03-19 22:29:21 -07:00
tyler92 3a09d53195
Remove unused 'alerting' section from prometheus.yml in examples (#2055) 2023-03-17 07:54:35 +00:00
tyler92 e0a85f2b03
Fix view names in Prometheus example (#2034) 2023-03-16 06:27:42 +00:00
Chill.dude 2462f7c98c
Fix some docs typo (#2057) 2023-03-15 22:37:18 -07:00
tyler92 f732872cc6
Fix compile error with GCC 11.3 (#2025)
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2023-03-07 18:24:59 +00:00
Ariel Machado eed657237e
Add example for Logs ostream exporter (#1992) 2023-02-19 22:17:08 -08:00
Lalit Kumar Bhasin a6211fa904
Fix Prometheus server crash on listening to already used port (#1986) 2023-02-15 16:10:05 -08:00
Tom Tan 4daca390e9
Build OpenTelemetry C++ SDK and exporter into DLL (#1932) 2023-02-13 09:46:25 -08:00
Marc Alff 1d18614edb
Fixed copyright in examples. (#1964) 2023-02-07 05:59:12 +00:00
Lalit Kumar Bhasin c4c8ee053f
Convert Prometheus Exporter to Pull MetricReader (#1953) 2023-02-05 18:12:09 +00:00
WenTao Ou 65ebdb1e61
Update logs sdk and api to follow specification (#1884) 2023-01-28 09:29:36 -08:00
Marc Alff 0305ad8e4c
Cleanup CMake makefiles for CURL usage (#1916) 2023-01-17 07:05:59 -08:00
Lalit Kumar Bhasin 46b16ec3cf
Histogram Aggregation: Fix bucket detection logic, performance improvements, and benchmark tests (#1869) 2023-01-11 16:49:35 -08:00
Tom Tan 57d1a478bd
Remove unused namespace alias for nostd (#1914) 2023-01-10 22:47:39 +00:00
Lalit Kumar Bhasin 61bc860a49
[ETW Exporter] Add Virtual destructor for TailSampler, Update Maintainer mode warnings for MSVC (#1897) 2023-01-04 09:33:02 -08:00
Marc Alff a343da043e
Fix #1867 Orderly shutdown in examples (#1868) 2023-01-04 06:33:40 -08:00
Marc Alff 41821d67cd
Fix console debug logs for otlp exporters. (#1848)
Fixes https://github.com/open-telemetry/opentelemetry-cpp/issues/1847
2022-12-07 14:29:29 -08:00
Marc Alff d7a388b154
[SEMANTIC CONVENTIONS] Upgrade to version 1.15.0 (#1761) 2022-11-16 13:46:14 -08:00
Lalit Kumar Bhasin 389b84f430
[Metrics SDK] Change Prometheus CMake target name (#1765) 2022-11-12 22:24:28 +00:00
Ehsan Saei b8b715faf9
[Metrics SDK] Cleanup ENABLE_METRICS_PREVIEW (#1735) 2022-11-06 21:03:08 +00:00
Ehsan Saei 7efeeabeea
[Logs SDK] LogProcessor, LogExporter class name (#1736) 2022-11-06 20:08:24 +00:00
Ehsan Saei ec8895bc98
[Metrics SDK] Cleanup of old _metric api/sdk (#1734) 2022-11-06 19:31:37 +01:00
WenTao Ou 7634edf461
[Logs SDK] LogProcessor, LogExporter changes (#1727)
* + Rename `LogProcessor` to `LogRecordProcessor`
+ Rename `LogExporter` to `LogRecordExporter`
+ Move `*log_processor*` to `*log_record_processor*`
+ Move `*log_exporter*` to `*log_record_exporter*`

Signed-off-by: owent <admin@owent.net>

* Add changelog

Signed-off-by: owent <admin@owent.net>

Signed-off-by: owent <admin@owent.net>
Co-authored-by: Ehsan Saei <71217171+esigo@users.noreply.github.com>
2022-11-04 19:11:32 +01:00
Ehsan Saei 2ed104c50d
Add metrics e2e test to asan & tsan CI (#1670) 2022-10-24 15:35:56 +00:00
Ehsan Saei 52585635bb
Add otlp-grpc example bazel (#1708) 2022-10-24 16:31:01 +02:00
Ehsan Saei 70777ef9fa
[Metrics SDK] Add support for Pull Metric Reader (#1701) 2022-10-21 23:21:18 +02:00
Ehsan Saei 7f37bc3281
fix Histogram crash (#1685) 2022-10-17 17:58:34 +00:00
Lalit Kumar Bhasin 89eb1ec6bf
[DOCS] - Minor updates to OStream Metrics exporter documentation (#1679) 2022-10-14 15:53:55 -07:00
Marc Alff f29703b21c
Fixes #249 (#1677)
Fixed many remaining compiler warnings.
2022-10-13 20:56:17 +02:00
Marc Alff 1dc810d882
Fix #1649 (#1658)
Fixed some warnings reported by clang.

-Wnewline-eof
  no newline at end of file

-Wc++98-compat-extra-semi
  extra ';' outside of a function is incompatible with C++98

-Winconsistent-missing-destructor-override
  '~XXX' overrides a destructor but is not marked 'override'

-Wheader-hygiene
  using namespace directive in global context in header

-Wunused-parameter
  unused parameter

Fixed some warnings reported by gcc.

-Werror=missing-field-initializers
  missing initializer for member ‘opentelemetry::v1::sdk::trace::SamplingResult::trace_state’

-Werror=unused-variable
  unused variable

-Werror=unused-parameter
  unused parameter
2022-10-05 11:41:58 -07:00
Lalit Kumar Bhasin f21b3a009a
Fix #1588 - Observable Gauge does not reflect updated values, and send the old value always (#1641) 2022-10-02 14:38:50 -07:00
Marc Alff fe0c62fec8
[Semantic Conventions] Align on the specification 1.13.0 (#1625)
* Fix #1624

* Added changelog
2022-09-21 19:11:11 -07:00
Dennis ed9f583c47
[gRPC]: Fix out-of-bounds access of string_view in GrpcClientCarrier in the example (#1619) 2022-09-19 09:43:35 -07:00
Lalit Kumar Bhasin cfaf8a1f6c
Example for OTLP gRPC exporter for Metrics. (#1598) 2022-09-12 23:44:35 -07:00
WenTao Ou 0b7d4ab57b
Add OTLP Metric Exporter Factory and `OtlpGrpcClient` (#1606) 2022-09-12 20:14:47 -07:00
Lalit Kumar Bhasin 73a51cf633
Support multiple async callbacks (#1495) 2022-08-05 11:54:00 -07:00
Marc Alff 70fd2dcb88
Fix log sdk builder (#1486) (#1524) 2022-08-02 00:17:49 -07:00
Ehsan Saei 3af512e0ed
Add configuration options for Aggregation creation (#1513) 2022-08-01 21:02:54 +00:00
Marc Alff 09480544c8
Add automatically semantic conventions from the spec (#873) (#1497) 2022-07-21 10:57:34 -07:00
Marc Alff e708de5565
Fix trace sdk builder 1393 (#1471) 2022-07-15 12:52:12 -07:00
Marc Alff c22463384d
Fixed file permissions on source code (#1490) (#1491) 2022-07-12 18:47:09 -07:00
WenTao Ou 4762910eab
Merge branch 'merge_main_into_async-changes' into merge_async-changes_into_main (#1413) 2022-07-08 22:16:01 -07:00
Tom Tan 473c93163a
Log current timestamp instead of epoch time (#1434) 2022-06-07 15:42:54 -07:00
Lalit Kumar Bhasin 9df5c4fef1
[Metrics API/SDK] - Pass state to async callback function. (#1408) 2022-05-31 10:27:42 -07:00
Ehsan Saei a847d0ce42
Document Getting Started with Prometheus and Grafana (#1396)
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2022-05-18 21:29:22 +00:00
WenTao Ou 280f546e17
Upgrade proto to v0.17.0, update log data model (#1383) 2022-05-16 20:46:39 -07:00
Lalit Kumar Bhasin 45f0235dda
Connect async storage with async instruments (#1388) 2022-05-16 11:10:13 -07:00
Ehsan Saei 3fd5ca38a0
Getting started document using ostream exporter (#1394)
Co-authored-by: Reiley Yang <reyang@microsoft.com>
2022-05-16 16:53:40 +02:00
Ehsan Saei a4bd3b0667
prometheus example (#1332) 2022-04-28 16:29:26 +00:00
Lalit Kumar Bhasin 0c74e0b93d
remove exporter registration to meter provider (#1350) 2022-04-25 13:13:13 -07:00
Ehsan Saei bf8f433cae
ostream metrics cmake (#1344) 2022-04-21 21:27:19 +00:00
Ehsan Saei b33dd0920a
metrics histogram example (#1330) 2022-04-18 16:37:01 +00:00
Ehsan Saei 755f109a0d
ostream metrics example (#1312) 2022-04-12 11:12:21 -07:00
WenTao Ou 6b87300b5a
Add building test without RTTI (#1294) 2022-04-07 08:56:44 -07:00
WenTao Ou 76c664a20b
Rename `http_client_curl` to `opentelemetry_http_client_curl` (#1301)
Signed-off-by: owent <admin@owent.net>
2022-03-31 11:51:26 -07:00
Tom Tan 0b1a74c7ab
Enable line-length lint for markdown docs (#1268) 2022-03-16 07:17:12 -07:00
Ehsan Saei f380fcba45
Logger-Support-for-Instrumentation-library (#1149) 2022-01-14 19:39:27 -08:00
WenTao Ou b8fae39f81
Use custom abseil with bazel (#1172) 2022-01-14 16:53:15 -08:00
WenTao Ou d206b505e0
Logger: Propagating resources through LoggerProvider (#1154) 2022-01-12 10:11:43 -08:00
WenTao Ou 1f0bf83b98
Using system installed grpc,curl,protobuf to enable otlp exporters by default (#1131) 2022-01-03 21:15:18 -08:00
Lalit Kumar Bhasin 4f5505f9cb
sem ver (#1140) 2021-12-20 12:25:30 -08:00
Ehsan Saei 5aa632741d
Mark tags to bazel targets round 2 (#1094) 2021-12-15 18:50:04 -08:00
Ehsan Saei 6b9ed3d864
Jaeger bazel (Linux only) (#1077) 2021-11-25 10:01:58 -08:00
Ehsan Saei 1867688f7c
Otlp gRPC log example (#1083) 2021-11-23 13:08:45 -08:00
Ehsan Saei 0a924fb490
Mark tags to bazel targets (#1075) 2021-11-22 14:10:03 -08:00
Ehsan Saei 97fbdaa747
Otlp http log example (#1062) 2021-11-17 09:27:25 -08:00
Paurush Garg 9772156789
fix: issue 368- consistent namespace scope resolution (#1008) 2021-11-15 19:53:34 -08:00
Lalit Kumar Bhasin eca856df5c
Build opentelemetry-proto collector interface with cmake only if WITH_OTLP_GRPC is enabled. (#1061) 2021-11-12 22:27:35 -08:00
Tom Tan 4554be10d3
OTLP gRPC log exporter (#1048) 2021-11-10 21:19:53 -08:00
Lalit Kumar Bhasin e58524c49a
Move old metrics implementation to different directory, and rename targets to *_deprecated (#1053)
Co-authored-by: Tom Tan <Tom.Tan@microsoft.com>
2021-11-05 14:25:22 -07:00
Ehsan Saei af75379971
Extract foo library into a separate library (#1043) 2021-10-29 19:55:21 -07:00
Tom Tan 32cd66b623
Update example to latest otel-collector container (#1038) 2021-10-28 12:24:06 -07:00
Lalit Kumar Bhasin bfab71a53f
Change OTLP/HTTP default port from 4317 to 4318 (#1018) 2021-10-19 01:01:29 -07:00
Lalit Kumar Bhasin 320c5935f6
Add note on experimental semantic convention implementation (#970)
* add note on experimental semantic conv

* nit

* Document experimental feature in versioning doc

* Document experimental feature in versioning doc

* rename experimental headers to experimental-*

* review comments

* missing changes

* fix bazel builg
2021-09-13 09:33:46 -07:00
Lalit Kumar Bhasin 703576c0b8
make span context management public (#967) 2021-09-03 09:04:33 -07:00
Lalit Kumar Bhasin 5414ebe92a
Adding semantic-convention attributes for trace (#868) 2021-07-30 22:17:53 +05:30
Siim Kallas 914df66c02
Add Jaeger Thrift HTTP exporter (#926) 2021-07-28 17:19:55 +05:30
Lalit Kumar Bhasin 950f940db5
rename jaeger exporter target (#918) 2021-07-22 09:41:47 +05:30
Lalit Kumar Bhasin db8289f2b7
Add Zipkin example (#917) 2021-07-22 08:10:59 +05:30
Lalit Kumar Bhasin 083cf026ac
Fix for resource deletion after tracer provider shutdown (#911) 2021-07-22 07:32:37 +05:30
Oblivion 40d2eb5c72
add bazel build for grpc example (#910) 2021-07-20 12:25:02 +05:30
Tom Tan 79c4c718d5
Fixes missing namespace in Jaeger exporter config doc (#903) 2021-07-14 11:58:14 +05:30
WenTao Ou 6ffa84854d
Fix issue 892 (#893) 2021-07-07 14:41:20 +05:30
Max Golovanov 47859cc37e
ETW example and tests clean-up (#882) 2021-07-01 08:07:27 +05:30
Max Golovanov b5dd914c9d
Clarify the strategy to avoid conflict between two different versions of Abseil (#883) 2021-06-30 21:53:32 +05:30