Commit Graph

1287 Commits

Author SHA1 Message Date
Cijo Thomas 34a95c7fb2
Fix metric OTLP exporter examples (#2291) 2021-08-26 14:23:37 -07:00
Reiley Yang c22a4189b7
completely remove netcoreapp2.1 (#2286) 2021-08-25 18:06:26 -07:00
Reiley Yang 53a880fdd7
improve the metrics console output (#2285) 2021-08-25 15:39:12 -07:00
Mikel Blanchard d9ad092dd3
Merge to main: New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API (#2270)
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API. (#2249)

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 2 (#2254)

* Use a single context.Items key for state management to make things more efficient.

* Added a comment for clarity.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 3 (#2256)

* Update ASP.NET instrumentation to use the new TelemetryHttpModule.

* Fixed TelemetryHttpModule not starting its Activity objects. Added an example of request suppression.

* Tweaks an logging improvements.

* Sealed AspNetInstrumentationEventSource.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 4 (#2258)

* Fixed up TelemetryHttpModule unit tests.

* Added tests for the new HasStarted helper and added checks for StartedButNotSampledObj when not sampled.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 5 (#2261)

* Updated ASP.NET instrumentation tests for new TelemetryHttpModule.

* Added a test for the new RecordException option.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 6 (#2264)

* CHANGELOG & README updates.

* Apply suggestions from code review

Co-authored-by: Reiley Yang <reyang@microsoft.com>

Co-authored-by: Reiley Yang <reyang@microsoft.com>

* Lint + sanity checks.

* Lint attempt 2.

* Restored CHANGELOG changes lost in merge.

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2021-08-25 11:41:10 -07:00
Cijo Thomas c81e62882a
Add changelog for 1.2.0-alpha2 (#2283) 2021-08-24 20:37:18 -07:00
Cijo Thomas f1e745d5e8
Add histogram support for Prometheus exporter (#2282) 2021-08-24 20:27:04 -07:00
Cijo Thomas 899777eead
Add Gauge export support in Prometheus (#2281) 2021-08-24 13:46:18 -07:00
Cijo Thomas f88f3fe3ad
Support async counter for long (#2279) 2021-08-24 09:45:50 -07:00
Cijo Thomas 56a3f79434
Async counter doc (#2277) 2021-08-23 17:56:04 -07:00
Cijo Thomas b1d6918e0f
Add docs for Gauge instrument (#2276) 2021-08-23 16:17:29 -07:00
Vishwesh Bankwar a5b034ec3a
remove hostingSupportsW3C (#2275) 2021-08-23 15:36:22 -07:00
Vishwesh Bankwar baaa37150e
Change http.path to http.target in aspnet and aspnetcore instrumentations (#2266)
* change http.path to http.target

* update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-08-23 10:44:45 -07:00
Dasith Wijesiriwardena f9d54acc61
Add guidance on injecting/extracting propagation context for out of proc requests (#2241) 2021-08-23 10:18:39 -07:00
Cijo Thomas d649b3d591
Docs and fixes for histogram (#2269) 2021-08-20 17:25:13 -07:00
Patrice Chalin 95e685165e
Update RELEASING.md (#2263) 2021-08-18 13:00:13 -07:00
Robert Pająk 0959e562d6
Add environment variable detectors to the default ResourceBuilder (#2247) 2021-08-13 11:22:30 -07:00
Robert Pająk adb2b6cef6
Update OTLP Exporter insecure channel docs (#2255) 2021-08-13 11:09:21 -07:00
Cijo Thomas b663b654a0
Modify minvertag prefix for aspnet telemetry module project (#2250) 2021-08-11 17:50:20 -07:00
Jann Roder 6e765b8a2c
Mark Microsoft.CodeCoverage as PrivateAssets (#2237) 2021-08-11 15:46:57 -07:00
Reiley Yang c9c78691ce remove trailing space 2021-08-10 20:50:27 -07:00
Reiley Yang 5af3d9387d disable TelemetryHttpModule API Compat for now (#2244) 2021-08-10 20:50:27 -07:00
Mikel Blanchard dc28d6b9a7 AspNet.TelemetryHttpModule public api + test fixes + renames (#2240) 2021-08-10 20:50:27 -07:00
Reiley Yang 2a3043deec add changelog for OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule (#2242) 2021-08-10 20:50:27 -07:00
Mikel Blanchard ec118d4fde Rename Microsoft.AspNet.TelemetryCorrelation -> OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule. Added project to the solution + updated references & namespaces. (#2238) 2021-08-10 20:50:27 -07:00
Reiley Yang 7668b6cf58 Format code (#2235) 2021-08-10 20:50:27 -07:00
Reiley Yang 808812ceaa format code (#2232) 2021-08-10 20:50:27 -07:00
Reiley Yang 0ccbf737bc Fix format (#2231) 2021-08-10 20:50:27 -07:00
Reiley Yang bc1e953895 fix build (#2229) 2021-08-10 20:50:27 -07:00
Reiley Yang 7ec2802be8 Fix build (#2226) 2021-08-10 20:50:27 -07:00
Reiley Yang 6e00a6c320 update copyright info (#2225) 2021-08-10 20:50:27 -07:00
Reiley Yang 405e7dc925 initial cleanup (#2224) 2021-08-10 20:50:27 -07:00
Reiley Yang 717ad74fbf copy the code from ASP.NET repo (#2223) 2021-08-10 20:50:27 -07:00
Robert Pająk 24226a58f8
Add support for OTEL_SERVICE_NAME environmental variable (#2209) 2021-08-10 10:36:42 -07:00
Eric J. Smith f64437301e
Add SetVerboseDatabaseStatements and Enrich options to the Redis instrumentation (#2198) 2021-08-10 09:59:17 -07:00
Alan West 67b6a83932
HttpClient http.client.duration metric (#2243) 2021-08-10 09:20:18 -07:00
Cijo Thomas 71dcc6be20
Fix aspnetcore metric test stability (#2236) 2021-08-05 11:16:40 -07:00
Reiley Yang 159ee9ddab
use EventKeywords.All rather than (-1) (#2227) 2021-08-04 15:44:08 -07:00
Alan West c84af7c807
OTLP exporter refactor - pulling common code into BaseOtlpExporter class (#2220) 2021-08-04 09:57:09 -07:00
Cijo Thomas bd69bd6d29
Refactor Aggregator and Export data structure (#2214) 2021-08-02 09:15:18 -07:00
Victor Lu d6d815e6a8
Add Explicit Boundary Histogram Aggregator (#2216) 2021-07-30 20:11:53 -07:00
Utkarsh Umesan Pillai 54d46d80a0
Remove unncessary usings (#2213) 2021-07-29 17:27:28 -07:00
Utkarsh Umesan Pillai 4323c93e14
Refactor UnitTests (#2212)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-07-29 16:56:36 -07:00
Michael Maxwell 29a4a791f2
Change `paths-ignore` to `paths` in `markdownlint.yml` (#2211)
Markdown lint should only run when a `*.md` file has changed. This was likely a copy paste mistake when this Github action was created.
2021-07-29 16:13:44 -07:00
Cijo Thomas ceaaa40262
Logformatter null check (#2200) 2021-07-29 10:31:08 -07:00
Alan West 138035bc22
OtlpMetricsExporter: Add test transforming metrics to OTLP metrics (#2206) 2021-07-28 18:24:32 -07:00
Cijo Thomas 175154e195
Add a basic metric test for multi-thread update (#2205)
* Add a basic metric test for multi-thread update

* nulklable
2021-07-28 17:35:33 -07:00
Cijo Thomas 7db5ec8dcb
Modify benchmarks to not use static tags (#2201) 2021-07-28 10:52:20 -07:00
Vishwesh Bankwar f03cdddbe8
Enable zipkin endpoint configuration via environment variable (#1924) 2021-07-28 10:01:24 -07:00
Dawid Szmigielski a12fddd54b
Otlp exporter documentation update (#2199) 2021-07-28 09:35:05 -07:00
Alan West 4ff9a5099f
Add basic test of ASP.NET Core request metric (#2186)
* Add basic test of ASP.NET Core request metric

* Remove netcoreapp2.1

* Clarify comments

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-07-27 12:47:20 -07:00