Commit Graph

62 Commits

Author SHA1 Message Date
Vishwesh Bankwar 5ca8e98f1f
[otlp log exporter] Move logs extension methods to main otlp package (#4556) 2023-06-08 09:13:40 -07:00
Utkarsh Umesan Pillai b911e7e118
Add Exemplars for 1.6.0 prerelease versions (#4553) 2023-06-07 11:10:55 -07:00
Utkarsh Umesan Pillai ccfbcc62d1
Mark Exemplars internal (#4533)
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-05-31 20:32:43 -07:00
Luiz Lelis fea6793a55
Clean up package version definitions using Directory.Packages.props (#4298)
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-05-09 09:35:05 -07:00
Alan West 410532ae49
OTLP support for exporting exponential histograms (#4337) 2023-03-27 21:23:24 -07:00
Cijo Thomas 9dd54d7124
Merge main-metrics to main (#4217)
Co-authored-by: Yun-Ting Lin <yunl@microsoft.com>
2023-02-27 18:57:58 -05:00
Mikel Blanchard 74212a2402
[sdk+hosting] Move AddOpenTelemetry & OpenTelemetryBuilder into Hosting package (#4174)
* Move AddOpenTelemetry & OpenTelemetryBuilder into Hosting package.

* Added Azure Functions warning.

* Test fixes.

* Test fixes.

* Patch CHANGELOGs.

* Hosting README updates.

* Comment tweak.

* Clean up.

* Test cleanup.

* MD lint.

* Test fixes.
2023-02-10 12:11:26 -08:00
Mikel Blanchard 94f67d8a8c
Revert "[sdk] Use reflection and dynamic types to start providers (#4151)" (#4173)
This reverts commit b549e12148.
2023-02-09 10:14:12 -08:00
Mikel Blanchard b549e12148
[sdk] Use reflection and dynamic types to start providers (#4151)
* Remove StartWithHost extension and using reflection to do the work in SDK.

* Warning cleanup.

* Fix up.

* Improved logging.

* Remove OpenTelemetry.Extensions.Hosting dependency from examples & docs.

* Test fixes.

* Fixes and test updates.

* Bug fix.

* Patch CHANGELOGs.

* Clean up.

* Support Azure Functions TelemetryHostedService dependency inspection logic.

* Code review.

* Code review.

* Code review.

---------

Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-02-08 15:20:02 -08:00
Dan Nelson 1273e83d55
[examples] Add manual activities and custom metrics to ASP.NET Core example (#4133) 2023-02-07 16:36:05 -05:00
Mikel Blanchard dd342f0508
[Logs] Remove ConfigureResource on OpenTelemetryLoggingOptions (#3999)
* Removed ConfigureResource on OpenTelemetryLoggingOptions.

* Patch CHANGELOG.
2022-12-09 13:26:31 -08:00
Mikel Blanchard 9836d3addb
[DependencyInjection] Introduce new package and refactor SDK (#3923) 2022-12-08 15:24:44 -08:00
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08:00
Timothy Mothra 6bcb70b1fe
Add `ImplicitUsings` to Common.props (#3959) 2022-12-02 15:01:27 -08:00
Cijo Thomas 4635f356d4
Minor doc update (#3886) 2022-11-15 15:46:52 -05:00
Cijo Thomas 0447871d48
Minor fixes to metrics, prometheus examples (#3623) 2022-09-01 21:41:09 -07:00
Yun-Ting Lin cd6043bbf7
[Prometheus] Split up projects based on hosting mechanism. (#3430) 2022-07-28 16:02:53 -07:00
Cijo Thomas 09ef47dbc1
Update Instrumentation.RunTime version (#3419) 2022-06-29 22:07:37 -07:00
Cijo Thomas f4dddbe7da
Add runtime metrics to example aspnet core app (#3408) 2022-06-28 06:08:46 -07:00
Christian Neumüller 34efdbf448
Add & use ConfigureResource API. (#3307) 2022-06-27 08:59:59 -07:00
Cijo Thomas 4e2437cfcd
Modify metric example to use console exporter defaults (#3143) 2022-04-06 07:49:25 -07:00
Travis Illig 7ed97be908
Fix analyzers (#3053) 2022-04-01 07:46:32 -07:00
Alan West a709cfd2a9
Clean up metric reader options (#3038) 2022-03-15 07:20:09 -07:00
Cijo Thomas 5f509bfea9
Add back aspnetcore instrumentation in example (#3021) 2022-03-11 06:52:22 -08:00
Travis Illig d55de344f1
Fix IDE0090: 'using' statement can be simplified. (#3017) 2022-03-10 21:32:41 -08:00
Xavier 52258f12e3
Asp6sample (#2989) 2022-03-10 12:33:12 -08:00
Cijo Thomas 97f21802a3
Modify example asp.net core app to config prometheus options (#2988) 2022-03-10 10:52:25 -08:00
Travis Illig 2a97920ff0
Fix IDE0090: 'new' expression can be simplified. (#3012)
* Set rule for new() usage.

* Fix IDE0090 "'new' expression can be simplified"
2022-03-10 08:57:53 -08:00
Cijo Thomas b6dcfe8e09
Example app to enable httpclient metrics instrumentation (#2955) 2022-03-01 11:21:40 -08:00
Alan West 644ba5bc14
Remove metric related options from ConsoleExporterOptions (#2929) 2022-02-23 09:19:45 -08:00
Cijo Thomas 2aa816314c
Modify aspnetcore example to allow otlp log exporter (#2801) 2022-01-20 07:44:03 -08:00
Robert Pająk f5b0ea3826
Add HTTP protocol test case to OTLP exporter integration tests (#2692) 2021-11-29 16:02:22 -08:00
Reese Lee cb4bedaf33
Add PeriodicExporterOptions for console exporter (#2648) 2021-11-23 07:16:59 -08:00
Mikel Blanchard ce31354dfb
JaegerExporter: binary thrift over http (#2574)
* WIP to support jaeger http to collector.

* Bug fixes and public api.

* Updated Thrift README + CHANGELOG. Fixed broken tests + benchmarks.

* Buffer size tweak.

* Updated README for new settings.

* Lint.

* Removed unused code.

* Debug.Assert code review.

* Code review.

* Nits.

* Cleaned up example code.

* Exclude net5.0 from api compat check.
2021-11-16 11:44:10 -08:00
Mikel Blanchard dc24fe1485
PrometheusExporter: Project cleanup and middleware fixes (#2414) 2021-09-28 12:53:22 -07:00
Cijo Thomas 7c611c8537
Metrics to Main (#2174) 2021-07-22 07:35:38 -07:00
Vladimir Kloz 56357fcd04
Fix the Zipkin exporter registration (#2135)
There was a missing line to set the service name similar to other places
2021-07-14 13:21:34 -07:00
Mikel Blanchard 6cdfcea67c
Logs: Scope improvements (#2026) 2021-05-06 10:12:43 -07:00
Cijo Thomas f65b650805
AspNetCore instrumentation options to be configurable from DI (#1997) 2021-04-19 22:31:28 -07:00
Mikel Blanchard 0208fd69f5
Dependency injection support (#1889) 2021-03-26 11:36:18 -07:00
Cijo Thomas 19cf0c97bf
Remove grpc class options from OTLPExporter. Make Endpoint Uri for all frameworks (#1789)
* Remove grpc class options from OTLPExporter. Make Endpoint Uri

* readme changes

* more comment.
2021-02-04 16:25:49 -08:00
Cijo Thomas f77280a2b8
Changed default port for OTLP Exporter from 55680 to 4317 (#1775) 2021-02-02 12:07:59 -08:00
Austin Tan c14177996a
Rely on DefaultResource's Service.Name for Exporters (#1768)
* Jaeger and API changes and ProviderMethod

* Changelog

* Fix whitespace

* Not just checking first element of default resource but querying for servicename

* Including the servicename fallback in Zipkin options

* Resolving tests

* we previously removed the adapting of new servicenames from resources in jaeger, this undoes that

* Removing servicename from Jaeger ctor

* re-adding servicename to Ctor for Jaeger

* CodeBlanch 's implementation for preserving servicename

* Scrubbed ServiceName from ZipkinExporterOptions

* Messed up ternary operator order again

* reordering using for SA compliance

* more instances of zipkinoptions.servicename

* removed servicename from API

* Changelog in right places

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-02-02 11:04:54 -08:00
Alan West 4e4f95bb53
OTLP exporter: use Grpc.Net.Client for netstandard2.1 (#1662)
* Use Grpc.Net.Client for netstandard2.1

* Fix AspNetCore example app

* Better comment for Http2UnencryptedSupport switch

* Update PublicAPI

* Update changelog

* Fix line endings

* Suppress instrumentation on export

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-01-04 11:45:21 -08:00
Alan West fd812eea04
Remove ServiceName from JaegerExporterOptions (#1572)
* Remove ServiceName from JaegerExporterOptions

* Update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-17 14:55:11 -08:00
Alan West 0e3081731a
Remove ServiceName from OtlpExporterOptions (#1557)
* Remove ServiceName from OtlpExporterOptions

* Update PublicAPI

* Update changelog

* Add back default service name when resource does not have service.name

* Fix test

* Fix examples post merge
2020-11-17 14:08:51 -08:00
Mikel Blanchard be5a7a752d
Added ServiceName option to OtlpExporter (#1420)
* Added ServiceName option to OtlpExporter.

* CHANGELOG update.

* Cleanup and tests.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
2020-10-30 12:08:38 -07:00
Eddy Nakamura c7429d25c9
Normalizing format (#1289)
updating gitattributes

updating

updating

updating

Revert "Normalizing format"

This reverts commit b571e430a73f65605481ef0a622a372bc8a787ae.

Updating everything to utf-8

applying lf

Revert "applying lf"

This reverts commit a54947f24ba69eecc931525f2a69647040fdc28d.

updating config

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-09-19 09:45:29 -07:00
Alan West 255889f84a
Centralize package versions for example projects (#1230)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-04 13:25:59 -07:00
Cijo Thomas fd7876416f
Renaming to AddOpenTelemetryTracing (#1209)
* AspNet Instrumentation docs

* Renaming to AddOpenTelemetryTracing

* Revert "AspNet Instrumentation docs"

This reverts commit 4cbb620533.

* typo

* changelog entry
2020-08-31 17:32:29 -07:00