Commit Graph

1506 Commits

Author SHA1 Message Date
Tom Kerkhove 5f5238dd7b
feat: Include endpoint URI in connection failure events (#2686) 2021-11-29 09:54:11 -08:00
Cijo Thomas f153cb1000
MetricType modification to allow future additions to histogram (#2693) 2021-11-29 09:15:57 -08:00
Mikel Blanchard 284885b070
Metrics: Reduced the public api surface of the MetricPointsAccessor struct (#2695) 2021-11-28 14:17:06 -08:00
Mikel Blanchard 494af25b19
Added explicit layout struct MetricPointValueStorage to store values for MetricPoint. (#2694) 2021-11-28 11:50:51 -08:00
ktmitton 580a2a5cc0
Removed explicit setting of default guest user (#2682)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-11-26 12:15:36 -08:00
Tom Kerkhove 3fea4e82fa
chore: Update reference to changelog in PR template (#2685) 2021-11-26 12:02:03 -08:00
Reiley Yang 4da595faf9
Hide MetricReader.ProcessMetrics for now (#2683) 2021-11-26 11:34:19 -08:00
Vishwesh Bankwar 71a6969c1c
Avoid accessing Id on activity start (#2659) 2021-11-24 14:25:28 -08:00
ktmitton d7ea809ef6
Updated the target frameworks for the microservice example projects to net6.0 to support the c# 10 requirement during build through the docker pipeline (#2677) 2021-11-24 14:13:45 -08:00
Utkarsh Umesan Pillai 9e83587a55
Update Metric Point for Counter and Gauge (#2667) 2021-11-24 11:46:06 -08:00
Reiley Yang f7c718eae0
Fix indentation (#2680) 2021-11-24 10:56:55 -08:00
Reiley Yang 0b023a6cd1
Update the metrics example (#2675) 2021-11-24 10:24:01 -08:00
Alan West f4915eaaa6
Add MetricReaderType to OtlpExporterOptions (#2674) 2021-11-24 09:46:41 -08:00
Alan West cabb8471a2
Expand OtlpMetricExporter tests (#2670) 2021-11-24 06:53:06 -08:00
Reiley Yang 794450b178
Clean up test cases by using consistent variable name (#2672) 2021-11-23 21:26:29 -08:00
Utkarsh Umesan Pillai e7f026e4ff
Minor optimization for HistogramBuckets enumeration (#2668) 2021-11-23 15:40:20 -08:00
Reiley Yang fb161af939
Refactor temporality to align with the spec (#2666) 2021-11-23 13:49:29 -08:00
Utkarsh Umesan Pillai 8d339bb740
Update MetricPoint HistogramMeasurements (#2664) 2021-11-23 13:00:39 -08:00
Reese Lee cb4bedaf33
Add PeriodicExporterOptions for console exporter (#2648) 2021-11-23 07:16:59 -08:00
Mikel Blanchard bc0e8afd96
ZipkinExporter: HttpClientFactory option (#2654) 2021-11-22 21:06:39 -08:00
Cijo Thomas ec67afe6db
Readme for Metric stress test (#2650) 2021-11-22 20:54:30 -08:00
Cijo Thomas f7d3227590
Rename batch metric point (#2661) 2021-11-22 20:38:02 -08:00
Cijo Thomas 25149bdb08
Remove View public API to change aggregation as it is not supported (#2660) 2021-11-22 20:21:49 -08:00
Utkarsh Umesan Pillai 69ef5f86bf
Update MetricPoint for Histograms (#2657) 2021-11-22 16:31:45 -08:00
Morgan McLean ca22838762
Removed hardcoded Zoom link (#2658) 2021-11-22 09:48:53 -08:00
Reiley Yang a7129d831e
StressTest improvements - output Loops, Loops/Second and CPU Cycles/Loop via Prometheus (#2653)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-11-21 09:16:25 -08:00
Cijo Thomas 1b9ec94efa
Fix prometheus exporter to handle histogram with no buckets (#2651)
* Fix prometheus exporter to handle histogram with no buckets

* review feedback

* bring changes after merge

* use count from the metricpoint
2021-11-21 08:00:02 -08:00
Mikel Blanchard 71f5fb00a8
Metrics: Use ReadOnlyTagCollection to encapsulate key/values on MetricPoint (#2642) 2021-11-20 13:59:22 -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 81cc49c3ba
Leverage PrometheusExporter in stress test (#2640) 2021-11-20 07:18:36 -08:00
Utkarsh Umesan Pillai b16348ffe4
Update MetricView benchmarks (#2647) 2021-11-19 17:17:18 -08:00
Cijo Thomas 3a516f3357
Add doc about metric limits (#2645) 2021-11-19 15:17:13 -08:00
Cijo Thomas 05cdc2c76d
Public workflow to use .NET 6.0 (#2644) 2021-11-19 12:02:12 -08:00
Cijo Thomas 29ad13ca95
1.2.0-beta2 release - update changelogs (#2643) 2021-11-19 11:47:33 -08:00
Cijo Thomas 5dcf29f770
Allow ability to override max Metric streams and MetricPoints per stream (#2635) 2021-11-19 10:50:16 -08:00
Utkarsh Umesan Pillai ca291422ff
Add support for multiple readers (#2596) 2021-11-19 07:49:47 -08:00
Svetlana Brennan 03313e7b02
Fix metric export interval to match spec (#2641) 2021-11-18 17:34:44 -08:00
Cijo Thomas 66d2621170
Rename histogram configuration bucketbounds to boundaries (#2638) 2021-11-17 20:26:03 -08:00
Cijo Thomas 1be29c85cc
Remove unused files (#2637) 2021-11-17 19:53:03 -08:00
Vishwesh Bankwar 98d32c163f
Http client instrumentation read me typo fix (#2632) 2021-11-17 18:47:13 -08:00
Alan West 61cb92a18e
Allow duplicate metric name when meter is different (#2634) 2021-11-17 17:16:51 -08:00
Reiley Yang 9b8f6f9c9a
Fix Prometheus serialization bug (#2636)
* fix prometheus serialization bug

* nit
2021-11-17 16:14:46 -08:00
Cijo Thomas a6ead4c1db
Rename SnapShot to Snapshot (#2631) 2021-11-17 11:36:59 -08:00
chertby a68fb70aa5
test: #2534 Replace use of TestExporter with InMemoryExporter (#2630) 2021-11-17 11:18:21 -08:00
Cijo Thomas ac98506ed4
Delta exporters will Export only those points which received new update (#2629) 2021-11-17 11:04:14 -08:00
Reiley Yang 5325185d02
Prometheus exporter minor cleanup (#2625)
* Minor cleanup

* quote
2021-11-16 21:12:09 -08:00
Reiley Yang 78fda233b2
Cleanup Prometheus exporter (#2623) 2021-11-16 15:44:38 -08:00
Oleksiy Dubinin 8b3501ac84
Otlp http exporter: allow endpoint override (#2492)
* #2483: added read-only option properties for traces and metrics and adjusted them according to spec. when reading it from environment variables + allow Endpoint override

* #2483: fixed text formatting to fulfill build checks

* #2483: removed trailing spaces + try auto properties for successful build

* #2492: can't avoid traces and metrics endpoints adjustment

* #2492: introduced endpoint default constant

* #2483: changed property descriptions

* #2492: Uri instead of string as default for endpoint

* Apply suggestions from code review

- improved descriptions and README for new added properties

Co-authored-by: Joao Grassi <joao@joaograssi.com>

* #2492: initialize internal endpoint variable in constructor instead of property

* #2492: extracted from options and stored export traces uri in export client + fixed unit test

* #2492:
- got rid of traces and metrics endpoints in exporter options as it should be considered along with per-signal env. vars. and out of scope of this issue
- traces and metrics relative paths append logic is located in corresponding AddOtlpExporter methods where call scope is known

* #2492: fixed misspelling

* #2492: fixed tests

* #2492: renaming and rephrasing as suggested in review

* #2492: use helper methods for reading env vars + proper variable naming and improved comments

* #2492: review suggestions + actualized test names

Co-authored-by: Joao Grassi <joao@joaograssi.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-11-16 15:27:27 -08:00
Reiley Yang 116a101732
Sanity improvements (#2614) 2021-11-16 12:26:06 -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