Commit Graph

253 Commits

Author SHA1 Message Date
Carter Socha 6b0883eb22
update metrics getting started to have snippets (#3136) 2022-04-04 16:42:50 -07:00
Timothy Mothra df76ca5d88
additional comments on filtering doc (#3135) 2022-04-01 16:54:04 -07:00
Travis Illig 7ed97be908
Fix analyzers (#3053) 2022-04-01 07:46:32 -07:00
Timothy Mothra 3e522b7e7e
Logs customization doc: add processor (#3042) 2022-03-31 14:04:59 -07:00
Timothy Mothra 25ba21375f
Update extending-the-sdk Readme to call out that the exporter can not make any assumptions about the Metric batch (#3071) 2022-03-31 12:14:24 -07:00
Cijo Thomas c78769cbea
Improve log message for unsupported Instrument (#3124) 2022-03-31 10:11:25 -07:00
Cijo Thomas ae4cbceaf1
Update getting started with logs (#3115) 2022-03-30 17:08:57 -07:00
Cijo Thomas e8ccab063b
Exception reporting doc to use newly added Activity.SetStatus (#3114)
* Add SetStatus to getting started

* Use new Activity Status method for exception reporting docs
2022-03-30 15:33:00 -07:00
Cijo Thomas a25f2861c2
Add SetStatus to getting started (#3111) 2022-03-30 14:04:22 -07:00
Cijo Thomas bbaffca3c1
Minor tweak to getting started tracing doc (#3110) 2022-03-30 13:21:25 -07:00
Carter Socha dbdcf4956e
add code samples & sample flag to traces getting started guide (#3099) 2022-03-30 12:44:09 -07:00
Reiley Yang 7d34791474
Fix typo (#3102) 2022-03-29 10:16:11 -07:00
Cijo Thomas b255183e82
Document about Status migration (#3091) 2022-03-24 14:12:35 -07:00
Cijo Thomas 3e8074576d
Minor additions to Extending Metric SDK docs (#3089) 2022-03-24 12:01:50 -07:00
Timothy Mothra b6169aae9b
Logs customization doc: SetResourceBuilder (#3043) 2022-03-17 10:00:09 -07:00
Timothy Mothra 4d6c05cb6b
Logs customization doc: filtering (#3034) 2022-03-15 12:33:59 -07:00
Piotr Kiełkowicz dff9adeaf8
Documentation - allow long lines for tables and code blocks (#3049) 2022-03-15 11:36:19 -07:00
Travis Illig 3af5a3b0b4
Fix analyzer issues in docs (#3026) 2022-03-11 18:04:34 -08:00
Timothy Mothra 36d5319488
Logs customization doc: skeleton (#3030) 2022-03-11 17:40:17 -08:00
Travis Illig d55de344f1
Fix IDE0090: 'using' statement can be simplified. (#3017) 2022-03-10 21:32:41 -08:00
Travis Illig 58f13ba7e2
Fix IDE0071: Interpolation can be simplified. (#3015) 2022-03-10 14:12:58 -08:00
Xavier 52258f12e3
Asp6sample (#2989) 2022-03-10 12:33:12 -08:00
Cijo Thomas 0a84e11272
Dotnet instead of Dotnet Core in docs (#3004) 2022-03-10 10:10:07 -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 055b564a75
Add links to dotnet runtime repo in docs (#3000) 2022-03-09 20:56:05 -08:00
Travis Illig 5255917581
Improve VS Code and cross-platform dev experience (#2997) 2022-03-09 09:35:30 -08:00
Yun-Ting Lin 1a186e86d8
Prometheus doc improvement (#2950) 2022-03-09 08:58:13 -08:00
Cijo Thomas 8b8b9348aa
Add example of using Baggage (#2990) 2022-03-08 21:19:33 -08:00
Reiley Yang 83c767148a
add a simple Mermaid diagram for the metrics tutorial (#2984)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-03-07 17:26:21 -08:00
Cijo Thomas c1d49df6b9
MeterProvider doc improvement and minor link fixes (#2975)
* MeterProvider doc improvement and minor link fixes

* commas
2022-03-04 17:20:28 -08:00
Cijo Thomas 62217ce2df
Add TracerProvider section in getting started. (#2973) 2022-03-04 16:27:38 -08:00
Yun-Ting Lin 778052f67f
Cleaned up changelog and added resource spec link. (#2966) 2022-03-02 20:01:27 -08:00
Yun-Ting Lin b538b9b9d4
Publicize required methods to allow for custom implementations of resource detectors. (#2949) 2022-03-02 18:05:57 -08:00
Xavier a0618e5dca
Update readme.md (#2858) 2022-02-03 20:11:38 -08:00
Reiley Yang 3de96a1c16
Minor docs tweak (#2852) 2022-02-02 21:39:05 -08:00
Cijo Thomas 3833a4f503
Attempt to reduce provider lifetime issues (#2848) 2022-02-02 13:57:53 -08:00
Cijo Thomas 89aa673765
Add How to write MetricExporter (#2842) 2022-02-01 14:29:48 -08:00
Reiley Yang 874285194b
Minor tweak on the Prometheus tutorial doc (#2829) 2022-01-28 17:08:15 -08:00
Reiley Yang 00a480fa17
Minor tweak on the Prometheus docs (#2825) 2022-01-28 12:22:07 -08:00
Yun-Ting Lin f55bd76817
Metrics: quick start docs for Prometheus/Grafana (#2795) 2022-01-24 15:00:54 -08:00
Reiley Yang fcb6b40bfa
Add an example for LoggerMessageAttribute (#2792) 2022-01-18 14:39:46 -08:00
Utkarsh Umesan Pillai 87f66d3845
Remove unnecessary using statements (#2727) 2021-12-14 12:56:18 -08:00
Utkarsh Umesan Pillai 5d9083b973
Update docs for Metrics (#2726) 2021-12-07 09:39:03 -08:00
Cijo Thomas c573a8f42b
Minor metric doc fixes (#2715) 2021-11-30 14:25:29 -08:00
Reiley Yang 4da595faf9
Hide MetricReader.ProcessMetrics for now (#2683) 2021-11-26 11:34:19 -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
Cijo Thomas 3a516f3357
Add doc about metric limits (#2645) 2021-11-19 15:17:13 -08:00
Cijo Thomas 66d2621170
Rename histogram configuration bucketbounds to boundaries (#2638) 2021-11-17 20:26:03 -08:00
Reiley Yang 3fbf1d98df
Improve Prometheus example (#2601) 2021-11-12 11:29:26 -08:00
Cijo Thomas 9fed161c3a
Handle instrument disposal (#2585) 2021-11-10 09:43:13 -08:00
Reiley Yang 0ed4ed64f0
consolidate/cleanup SA1000 (#2577) 2021-11-09 14:10:01 -08:00
Michael Maxwell 7d6a22fe35
Unique test meter names (#2549) 2021-11-06 18:32:30 -07:00
Reiley Yang 635028834c
Add exporter ForceFlush (#2525) 2021-10-26 20:25:12 -07:00
Reiley Yang b1fc7616b1
Minor improvements to the Metrics SDK (#2515)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-10-26 07:42:12 -07:00
Utkarsh Umesan Pillai cfa01ba1b3
Update docs for views (#2475) 2021-10-11 17:02:15 -07:00
Utkarsh Umesan Pillai 92423e2812
Update docs with more view configurations (#2469) 2021-10-08 09:56:39 -07:00
Cijo Thomas 0998eeddb3
Add basic view to docs (#2460) 2021-10-06 16:57:57 -07:00
Cijo Thomas 8159df1178
Add basic docs for Metrics api and sdk (#2452) 2021-10-06 11:28:20 -07:00
Cijo Thomas 5c7feb0931
Rename AddSource to AddMeter to better reflect intent (#2454) 2021-10-06 09:56:15 -07:00
Reiley Yang b52d85c820
improve metrics tutorial (#2453) 2021-10-06 08:20:39 -07:00
Cijo Thomas f05b058613
Minor doc fix (#2451) 2021-10-05 16:50:59 -07:00
Cijo Thomas efc2b9756d
Add note about Metrics API being part of DotNet (#2450) 2021-10-05 16:11:27 -07:00
Cijo Thomas f70dfd378a
View - support for dropping instrument (#2449) 2021-10-05 16:07:23 -07:00
Cijo Thomas a6e1e98ec2
Support View part1 - rename an instrument (#2421) 2021-09-29 13:03:32 -07:00
Reiley Yang d716bb17cd
clean up sln/proj (#2423) 2021-09-28 19:23:05 -07:00
Reiley Yang 9ed51e1060
Clean up stress test (#2422) 2021-09-28 15:38:15 -07:00
Cijo Thomas 2c70ca6da1
Add view (configuration only) (#2396) 2021-09-27 20:47:08 -07:00
Mikel Blanchard 38ee521b24
Hosting: Support metrics registration via IServiceCollection & deferred configuration (#2412)
* Add metrics support to hosting lib.

* Bug fixes and some public api additions.

* Added missing zipkin publicapi files.

* Unit tests.

* CHANGELOG updates

* Fixes

* Code review.

* Update src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md

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

* Code review.

* Warning fixup.

Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-09-27 10:30:10 -07:00
Utkarsh Umesan Pillai 39fbb1b4bd
Update ConsoleMetricExporter to add a space between the attributes (#2410) 2021-09-23 15:12:56 -07:00
Reiley Yang 61aaf2e6ed
Simplify tutorials (#2406) 2021-09-23 09:37:18 -07:00
Reiley Yang 78baf7c261
Implement the metrics dispose/shutdown logic (#2404) 2021-09-23 08:02:09 -07:00
Reiley Yang 15981dfd7f
Improve Metrics pull export mode (#2389) 2021-09-22 10:14:58 -07:00
Reiley Yang 1d63b31bf5
Refactor MetricReader (#2385) 2021-09-20 11:50:56 -07:00
Reiley Yang d30746e5fc
refactor MetricReader Collect/OnCollect (#2380) 2021-09-17 16:20:38 -07:00
Reiley Yang b356aa97a5
support MetricReader ForceFlush/Shutdown (#2376) 2021-09-17 12:45:04 -07:00
Reiley Yang e12621b582
s/HelperExtensions/Extensions/ (#2370)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-09-17 11:00:53 -07:00
Reiley Yang 34d8332a80
add metrics extending-sdk skeleton (#2356)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-09-15 14:57:29 -07:00
Reiley Yang 3baed5b13c
Simplify the metrics examples (#2349) 2021-09-14 11:25:17 -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
Michael Maxwell baa37f3a05
Remove 'en-us' from URLs (#2329) 2021-09-09 11:24:47 -07:00
Michael Maxwell d355697038
Install prerelease 'OpenTelemetry.Exporter.Console' in metric docs (#2301) 2021-09-02 10:08:41 -07:00
yunl 0f318420ea
Update the markdown file to reflect the current implementation of histogram. (#2302) 2021-09-01 19:19:08 -07:00
Michael Maxwell e27070d220
Install OTel 1.2+ so metrics are available (#2299) 2021-09-01 13:10:47 -07:00
Michael Maxwell 2364b4f933
Include all getting started sub-documents (#2300) 2021-09-01 13:07:04 -07:00
yunl c761943d59
Remove unnecessary using statments. (#2296) 2021-08-31 14:57:52 -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
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
Utkarsh Umesan Pillai 54d46d80a0
Remove unncessary usings (#2213) 2021-07-29 17:27:28 -07:00
Cijo Thomas 7c611c8537
Metrics to Main (#2174) 2021-07-22 07:35:38 -07:00
Utkarsh Umesan Pillai 1b1da753d4
Remove unnecessary usings (#2101) 2021-06-23 18:19:11 -07:00
Cijo Thomas 6894a034b8
Fix doc link (#2086) 2021-06-15 22:12:22 -07:00
Mikel Blanchard 6cdfcea67c
Logs: Scope improvements (#2026) 2021-05-06 10:12:43 -07:00
Cijo Thomas d07ec267b0
AddSource section to customize the sdk doc. (#2017) 2021-04-29 09:52:57 -07:00
Cijo Thomas 58a8d1b568
Doc for customizing tracing sdk (#2016)
* Doc for customizing tracing sdk
2021-04-27 23:28:11 -07:00
Cijo Thomas 6dfe944997
Rewording for exception reporting doc (#1992) 2021-04-16 14:46:14 -07:00
Cijo Thomas aba4217a07
Remove netcoreapp2.1 from logging examples (#1993) 2021-04-16 13:40:49 -07:00