Commit Graph

52 Commits

Author SHA1 Message Date
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
Cijo Thomas 6377d6bd87
Renamed extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider (#1138)
* Renamed extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider

* ununsed removal

* remove unnecessary test

* build fix
2020-08-21 21:28:10 -07:00
Cijo Thomas 7f2e672dfa
Rename UseExporter to AddExporter (#1066)
* Rename UseZipkinExporter to AddZipkinExporter

* Rename ZPages exporter extension

* rename jaeger to AddJaeger

* Otlp Exporter rename

* rename extension helper class

* Rename zpages

* comments adressed

* markdwonlint ix
2020-08-13 09:27:00 -07:00
Reiley Yang 7b86d25274
Update console exporter (#1051)
* update console exporter

* update changelog
2020-08-12 00:17:35 -07:00
Reiley Yang bde64f2b6a
use absolute path for project includes (#993)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-04 07:23:47 -07:00
Alan West dfe5f91d1d
Add UseExporter config option to AspNetCore example app (#976)
* Add UseExporter command line option to AspNetCore example app

* Use appsettings.json

* Remove unused using
2020-08-03 14:48:34 -07:00
Eddy Nakamura a326550305
Minor improvements to OT (#972)
Adding copyright header to files, and other changes

adding headers

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-02 06:48:58 -07:00
Eddy Nakamura c68061fa0c
dotnet-format check (#958)
* dotnet-format check

updating name

updating order

Update dotnet-format.yml

updating job name

Updating files based on dotnet-format

updating sanitycheck

updating os

* updating workflows

* adding path to editorconfig

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-07-31 18:46:08 -07:00
Mikel Blanchard 3169107c3b
A single AddHttpClientInstrumentation extension. (#935)
* A single AddHttpClientInstrumentation extension.

* Updating changelog.

* Cleaned up unit test.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-27 22:42:09 -07:00
Eddy Nakamura 2dd8daa1e4
Splitting Instrumentation Projects (#890)
updating README

updating sql integration test

updating yml

updating dockerfile

updating readme

updating global.asax

updating version and readme

removing unused reference, adding properties folder to be similar to OT project

adding zipkin docker in comments

updating to standard2.1

removing unused usings

updating aspnet/aspnetcore methods naming

applying cijo's suggestions

updating projects to compile semantic file, updating comments

Splitting Instrumentation Projects

updating README

updating sql integration test

updating yml

updating dockerfile

updating readme

updating global.asax

updating version and readme

removing unused reference, adding properties folder to be similar to OT project

adding zipkin docker in comments

updating to standard2.1

removing unused usings

applying cijo's suggestions
2020-07-23 11:50:57 -07:00
Cijo Thomas c470f0bb9c
TracerProvider renamings (#887)
* TracerProvider renamings

* rename

* Remove customization.md as its contents are part of SDK readme

* read only Default in TracerPRovier
2020-07-23 00:09:50 -07:00