Commit Graph

112 Commits

Author SHA1 Message Date
Reiley Yang b7821f7ee0
Remove zpages (#4604) 2023-06-20 18:18:12 -07:00
Vishwesh Bankwar 5ca8e98f1f
[otlp log exporter] Move logs extension methods to main otlp package (#4556) 2023-06-08 09:13:40 -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
Cijo Thomas bdf1e08bd7
Updates to OTLP Exporter readme (#4222) 2023-02-23 12:55:46 -05:00
Tom Tan f98f8fe166
Support customized OTLP endpoint for log example (#4066)
* Support customized OTLP endpoint for log example

* Add Endpoint command line option to TestMetrics

* Fix dotnet format

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-01-10 13:00:14 -08:00
Timothy Mothra 55556af592
fix analysis issues: CA2000 (#4038) 2022-12-22 13:59:59 -08:00
Utkarsh Umesan Pillai 3157b5ce12
Remove unnecessary using statements (#4023)
* Remove unnecessary using statements from docs, examples, benchmarks and stress tests
2022-12-20 11:20:15 -08:00
Timothy Mothra 64f1d74561
fix analysis issues: CA2007 (part2) (#4018)
* fix analysis issues: CA2007

* remove duplicate

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-12-15 16:31:49 -08:00
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08:00
Evan Mattson 2116966171
Fix dotnet run jaeger command. Include comment on how to access localhost Jaeger UI. (#3957) 2022-11-30 15:55:48 -08:00
Cijo Thomas d4cca852bf
OTLP Logs - remove depth from scope fields (#3843) 2022-10-31 19:30:27 -04:00
Reiley Yang 27658f058c
Improve PrometheusHttpListener options (#3521) 2022-08-02 15:39:41 -07:00
Reiley Yang 8d5d3d6ee8
Dust off Prometheus Exporters (#3507) 2022-08-01 10:33:00 -07:00
Yun-Ting Lin cd6043bbf7
[Prometheus] Split up projects based on hosting mechanism. (#3430) 2022-07-28 16:02:53 -07:00
Christian Neumüller 34efdbf448
Add & use ConfigureResource API. (#3307) 2022-06-27 08:59:59 -07:00
Reiley Yang 2e334df8ae
Dedupe IsPackable (#3398) 2022-06-22 19:05:47 -07:00
Utkarsh Umesan Pillai c90ab4a2f2
Remove StackExchangeRedis Instrumenation (#3346)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-06-07 09:35:43 -07:00
Cijo Thomas d1ec45ce15
Add HTTP/Protobuf exporter for OTLP Logs (#3225) 2022-04-22 10:55:50 -07:00
Cijo Thomas 1918e4b3cc
OTLP LogExporter to support ILogger Scopes (#3218) 2022-04-21 13:15:54 -07:00
Alan West 89a740e20a
MetricReader TemporalityPreference (#3153) 2022-04-12 13:00:04 -07:00
Paulo Janotti 950c6162b4
Improvements to the OTLP trace example (#3141) 2022-04-05 22:29:11 -07:00
Alan West a709cfd2a9
Clean up metric reader options (#3038) 2022-03-15 07:20:09 -07:00
Cijo Thomas 00af7817fd
Add net6.0 target to grpc instrumentation tests (#3013) 2022-03-11 09:01:04 -08:00
Travis Illig d55de344f1
Fix IDE0090: 'using' statement can be simplified. (#3017) 2022-03-10 21:32:41 -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 bac9263fa6
Prometheus example fixes (#2983) 2022-03-07 15:58:14 -08:00
Cijo Thomas bace2ce5d1
Make console examples for metrics simpler (#2981) 2022-03-07 13:35:36 -08:00
Alan West 644ba5bc14
Remove metric related options from ConsoleExporterOptions (#2929) 2022-02-23 09:19:45 -08:00
Alan West f234829964
OTLP exporter options separate out MetricReader options (#2717)
* Separate out OtlpMetricReaderOptions from OtlpExporterOptions

* Collapse config delegates into one

* Rename AggregationTemporality to Temporatlity

* Update public API

* Change parameter names

* Move MetricReaderOptions to SDK

* Default OTLP metric exporter to use a periodic metric reader and cumulative temporality

* Update example to configure exporter options

* Update public API

* Everyone loves a good stackoverflow

* Update public API

* Fix bad merge

* Change namespace

* Fix the public API

* I ❤️ trying to get the public API correct without Visual Studio

* Remove check for unspecified temporality

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-02-18 12:02:14 -08:00
Cijo Thomas 2aa816314c
Modify aspnetcore example to allow otlp log exporter (#2801) 2022-01-20 07:44:03 -08:00
Utkarsh Umesan Pillai 87f66d3845
Remove unnecessary using statements (#2727) 2021-12-14 12:56:18 -08:00
Michael Maxwell 83fa9fde68
General code improvements (#2744) 2021-12-13 09:42:28 -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
Alan West f4915eaaa6
Add MetricReaderType to OtlpExporterOptions (#2674) 2021-11-24 09:46:41 -08:00
Reiley Yang 794450b178
Clean up test cases by using consistent variable name (#2672) 2021-11-23 21:26:29 -08:00
Reese Lee cb4bedaf33
Add PeriodicExporterOptions for console exporter (#2648) 2021-11-23 07:16:59 -08:00
Reiley Yang 31a2d673da
Improve PrometheusExporter example (#2649)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-11-20 09:10:03 -08:00
Reiley Yang 3fbf1d98df
Improve Prometheus example (#2601) 2021-11-12 11:29:26 -08:00
Reiley Yang df756ee50d
Upgrade stylecop to 1.2.0-beta.354 (#2602) 2021-11-12 11:20:41 -08:00
Reiley Yang f0311751d5
Do not export metrics description if it is empty (#2583) 2021-11-09 19:22:45 -08:00
Reiley Yang 0ed4ed64f0
consolidate/cleanup SA1000 (#2577) 2021-11-09 14:10:01 -08:00
Reiley Yang 11654f19e2
Solve PrometheusExporter race condition (step 1) (#2553)
* prom prototype

* minor refactor

* improve mem

* skeleton of the PrometheusSerializer

* a working server

* clear up test

* specialize netframework

* clean up

* update test

* fix unit test

* minor improvement

* comment

* escape metric names

* handle inf/nan

* minor name change

* nit

* more assertion

* patch for old frameworks

* add comment explaining why we use empty string if the label value is null

* Updated PrometheusExporterMiddleware for new PrometheusSerializer API.

* Added some exception handling.

* Test fix.

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2021-11-09 13:30:28 -08:00
Michael Maxwell 7d6a22fe35
Unique test meter names (#2549) 2021-11-06 18:32:30 -07:00
Cijo Thomas 6664781c76
Add OTLP LogExporter example (#2481) 2021-10-12 15:50:42 -07:00
Cijo Thomas 5c7feb0931
Rename AddSource to AddMeter to better reflect intent (#2454) 2021-10-06 09:56:15 -07:00
Oleksiy Dubinin 1aa4da2098
Issue/2292 otlp http binary protobuf trace exporter (#2316) 2021-10-05 11:35:54 -07:00
Cijo Thomas 124c12afdf
Prometheus fixes (#2433) 2021-09-30 14:41:29 -07:00
Mikel Blanchard dc24fe1485
PrometheusExporter: Project cleanup and middleware fixes (#2414) 2021-09-28 12:53:22 -07:00
Michael Maxwell 032f22d61e
Log dropped telemetry item count on shutdown (#2331) 2021-09-21 12:48:30 -07:00
Cijo Thomas 16b3188496
Metrics -> Main (#2332)
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
Co-authored-by: Michael Maxwell <micmax@microsoft.com>
2021-09-10 15:34:54 -07:00