Граф коммитов

93 Коммитов

Автор SHA1 Сообщение Дата
Will Sugarman dc66aa0265
Enable Custom Artifact Names with New Tokens (#6675) 2024-08-05 11:22:12 -07:00
Joe Schmitt 94b2b90fe0
[Nullable Context] Standardize optional arrays in schema (#6948) 2024-07-03 18:07:50 +00:00
Julian Wreford 6bb2fa55f5
[Egress provider - S3] Support KMS encryption for artifacts (#6831)
* Create new option on S3StorageEgressProviderOptions to represent the optional KMS key to be used for encryption of the request to S3

* Use the new KMS key encryption key option to upload to S3 with KMS

* Update schema with new configuration option

* Documentation - add documention for kmsEncryptionKey

* Add new option which will explicitly set whether the egress provider should use KMS

* Use the newly defined option to control if using KMS encryption, and if we are then use the KMS encryption key

* Run schema update to include parameter updats with the useKmsEncryption option

* Documentation - update documentation with new KMS encryption setting

* Set UseSignatureVersion4 inline with the AWS documentation requirements for KMS Encryption

https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html
https://docs.aws.amazon.com/AmazonS3/latest/userguide/example_s3_Scenario_PresignedUrl_section.html

* Fix incorrect comment on strings

Co-authored-by: kkeirstead <85592574+kkeirstead@users.noreply.github.com>

* Update documentation for S3 Egress to use generic pattern for bucket arn

---------

Co-authored-by: kkeirstead <85592574+kkeirstead@users.noreply.github.com>
2024-06-17 09:22:11 -07:00
Justin Anderson e22a67d2d0
Add issuer and expiration validation for API keys (#6456) 2024-04-22 15:37:06 -07:00
Andrew Au ac10aa5cf5
Support collecting GC collect only trace using a simplified profile (#6348) 2024-04-09 08:41:07 -07:00
Justin Anderson 6380db2a55
Replace SwaggerUI and SwaggerScope option with OpenAPI document (#6146) 2024-03-01 13:35:11 -08:00
Joe Schmitt a5773dbaaf
Filter Monitor exceptions by default (#5732) 2023-12-04 08:46:52 -08:00
Justin Anderson ab0774688b
Enforce editorconfig at build time (#5589) 2023-10-24 14:37:56 -07:00
Justin Anderson f56f71a517
Remove net6.0 tfm (#5501) 2023-10-09 15:30:55 -07:00
kkeirstead ed9d02ff07
[Exceptions] `CollectExceptions` Action Filtering (#5391) 2023-09-22 09:46:37 -07:00
kkeirstead b7b77100f0
[Exceptions] Configuration-Level Filtering (#5217) 2023-09-20 09:10:32 -07:00
Joe Schmitt 30a976b700 Merge remote-tracking branch 'upstream/main' into merge-main-to-param 2023-08-10 15:19:47 -07:00
Justin Anderson aafb2dfbbf
Unify Egress and Duration options descriptions (#5075) 2023-08-03 16:32:49 -07:00
Justin Anderson dd52b055fb
Add CollectExceptions action and documentation (#5064) 2023-08-03 11:00:02 -07:00
Justin Anderson f384544d54
Add top-level exception limit via ConfiguredExceptionsStore (#5004) 2023-08-03 09:32:35 -07:00
Joe Schmitt 1c9601ad1a Adopt new in-process and experimental code 2023-07-14 13:12:24 -07:00
Justin Anderson 849cec8a6f
Promote call stacks and exceptions to be supported features (#4764) 2023-06-29 18:29:26 -07:00
Justin Anderson a6f4c176a9
Generate schema based on .NET 6 types (#4732) 2023-06-23 18:48:13 -07:00
Wiktor Kopec 19a87cf592
Enable workflow identity (#4313)
* Enable workflow identity

* PR Feedback and fix typos
2023-05-02 20:38:28 -07:00
kkeirstead b78612f961
Cleanup around copy buffer size (#4086) 2023-03-29 06:41:47 -07:00
kkeirstead cba3bf4abf
[Egress] Added references back in to display strings (#4081) 2023-03-28 12:12:48 -07:00
Justin Anderson 80b5c294e0
Add known extensions to configuration schema (#4037) 2023-03-23 21:33:54 -07:00
kkeirstead 593ca364b0 Merge branch 'main' into kkeirstead/MergeMainToEgressExtension 2023-03-16 13:31:04 -07:00
kkeirstead 2e9e71a330
Adding `EventMeter` Trigger (#3812) 2023-03-15 12:53:15 -07:00
Justin Anderson 539a3c5a93 Merge main into feature/egressExtension 2023-03-07 13:31:16 -08:00
Wiktor Kopec a269476a6e
Fixup merge issue with schema splitting (#3848) 2023-03-04 21:27:04 -08:00
wiktork f6d30c6eb4 Merge remote-tracking branch 'upstream/release/7.x' into dev/wiktork/merge7xToMain 2023-03-03 15:15:30 -08:00
Wiktor Kopec 97a9c61787
Split eventcounter and meters in metrics configuration (#3843)
* Split eventcounter and meters in metrics configuration

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsSettingsFactory.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-03 22:56:44 +00:00
Justin Anderson deb10b94b5
Split meters from counters in the livemetrics route and action (#3839) 2023-03-03 14:20:45 -08:00
kkeirstead 9fb014cf81 Merge branch 'main' into kkeirstead/MergeS3BugFixesIntoFeatureBranch 2023-03-03 12:44:57 -08:00
Joe Schmitt 45cbddba9f
Add Azure AD authentication support (aad-auth pt 3) (#3755) (#3792) 2023-02-24 14:35:34 -08:00
Joe Schmitt e3eb4a053a
Add Azure AD authentication support (aad-auth pt 3) (#3755) 2023-02-24 13:30:53 -08:00
Wiktor Kopec b7ff0f1e0b Add support for System.Diagnostics.Metrics (#3479)
* Add prototype support for system diagnostics metrics

* [feature branch, do not review] Update counter api, fixup metadata parsing (#3137)

* Fix ICountersLogger contract

* MetadataUpdates

* Fixup merge issues

* Fixup api protection levels

* Fixup tests and add CounterEnded payload

* Fixup metadata parsing

* [System Diagnostics Metrics] Quantile->Percentile Changes & Testing Improvements (#3165)

* Rename counterpipeline

* Fix invariant

* Fixup regex

* Added tests for histogram and timeseries; addressed some other feedback. Still need to address erroneusly printing error message when doing live metrics without Sys.Diag.Metrics, and add configuration option to allow users to specify eventcounter/sys.diag.metrics

* Fix counter name

* Use one payload for Histogram

* Added MetricType option for configuration; added testing to go along with it

* Move documentation to correct file

* Initial PR feedback

* Do not allow CounterEnded events to displace existing metrics

* Deduplicate errors

* Update dependencies from https://github.com/dotnet/diagnostics build 20230130.1

Microsoft.Diagnostics.Monitoring , Microsoft.Diagnostics.Monitoring.EventPipe
 From Version 6.0.0-preview.23077.1 -> To Version 6.0.0-preview.23080.1

* Fix minor formatting issues

* Fix spell check issues

* Update documentation/configuration/metrics-configuration.md

Co-authored-by: Justin Anderson <jander-msft@users.noreply.github.com>

* Update documentation/configuration/metrics-configuration.md

Co-authored-by: Justin Anderson <jander-msft@users.noreply.github.com>

* PR Feedback

* Add comment from PR

---------

Co-authored-by: kkeirstead <kkeirstead@microsoft.com>
Co-authored-by: kkeirstead <85592574+kkeirstead@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Justin Anderson <jander-msft@users.noreply.github.com>
2023-02-21 17:14:04 -08:00
Justin Anderson 88145c0c9f Merge branch 'main' of https://github.com/dotnet/dotnet-monitor into feature/egressExtension 2023-02-13 20:18:53 -08:00
Wiktor Kopec 92217cd12c
Allow per provider interval specification (#3591)
* Allow per provider interval specification

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsSettingsFactory.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTests/MetricsSettingsTests.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Pr feedback

* pr feedback

* pr feedback

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-11 01:19:17 +00:00
kkeirstead 63a126dce0 Merged from main 2023-02-02 06:58:56 -08:00
Wiktor Kopec 7725e816a3
Add support for System.Diagnostics.Metrics (#3479)
* Add prototype support for system diagnostics metrics

* [feature branch, do not review] Update counter api, fixup metadata parsing (#3137)

* Fix ICountersLogger contract

* MetadataUpdates

* Fixup merge issues

* Fixup api protection levels

* Fixup tests and add CounterEnded payload

* Fixup metadata parsing

* [System Diagnostics Metrics] Quantile->Percentile Changes & Testing Improvements (#3165)

* Rename counterpipeline

* Fix invariant

* Fixup regex

* Added tests for histogram and timeseries; addressed some other feedback. Still need to address erroneusly printing error message when doing live metrics without Sys.Diag.Metrics, and add configuration option to allow users to specify eventcounter/sys.diag.metrics

* Fix counter name

* Use one payload for Histogram

* Added MetricType option for configuration; added testing to go along with it

* Move documentation to correct file

* Initial PR feedback

* Do not allow CounterEnded events to displace existing metrics

* Deduplicate errors

* Update dependencies from https://github.com/dotnet/diagnostics build 20230130.1

Microsoft.Diagnostics.Monitoring , Microsoft.Diagnostics.Monitoring.EventPipe
 From Version 6.0.0-preview.23077.1 -> To Version 6.0.0-preview.23080.1

* Fix minor formatting issues

* Fix spell check issues

* Update documentation/configuration/metrics-configuration.md

Co-authored-by: Justin Anderson <jander-msft@users.noreply.github.com>

* Update documentation/configuration/metrics-configuration.md

Co-authored-by: Justin Anderson <jander-msft@users.noreply.github.com>

* PR Feedback

* Add comment from PR

---------

Co-authored-by: kkeirstead <kkeirstead@microsoft.com>
Co-authored-by: kkeirstead <85592574+kkeirstead@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Justin Anderson <jander-msft@users.noreply.github.com>
2023-02-01 09:49:21 -08:00
kkeirstead 7e416eeb42 Updated schema 2022-12-08 10:59:20 -08:00
kkeirstead b2085f528f Merged with main 2022-12-08 10:54:25 -08:00
Wiktor Kopec d8c246023e
Add support for speedscope format (#2795) (#2999)
* Add support for speedscope format

* Add comments and actually cache frames

* PR feedback

* Fix sleep for unix

* Update openapi schema

* PR feedback + unit test start

* Finish speedscope unit test

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/SpeedScopeStacksFormatter.cs

Co-authored-by: Joe Schmitt <joschmit@microsoft.com>

Co-authored-by: Joe Schmitt <joschmit@microsoft.com>

Co-authored-by: Joe Schmitt <joschmit@microsoft.com>
2022-12-02 08:54:41 -08:00
kkeirstead 506cee2396
Add Tags for API Requests (#2919) 2022-12-02 07:09:32 -08:00
Joe Schmitt 55946dbb58
[release/7.x] Add support for a StoppingEvent on CollectTrace action (#2884)
* Add support for a StoppingEvent on CollectTrace action (#2557)

* Fix analyzer issues

* Revert VS automatic changes
2022-11-11 09:38:59 -08:00
Wiktor Kopec eba53eecd6
Add support for speedscope format (#2795)
* Add support for speedscope format

* Add comments and actually cache frames

* PR feedback

* Fix sleep for unix

* Update openapi schema

* PR feedback + unit test start

* Finish speedscope unit test

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/SpeedScopeStacksFormatter.cs

Co-authored-by: Joe Schmitt <joschmit@microsoft.com>

Co-authored-by: Joe Schmitt <joschmit@microsoft.com>
2022-11-10 15:24:48 -08:00
Justin Anderson 9b60b0dc85
Bump Microsoft.Extensions.* to 7.0.0 (#2862) 2022-11-08 18:13:32 -08:00
Egyptmaster c70ed6f3b5
Add support of egress provider to deliver data to a S3 storage (#2016) 2022-11-08 12:17:22 -08:00
kkeirstead c804040a30
Updates to `feature/egressExtension` Part 1 (#2759) 2022-10-25 12:23:45 -07:00
dependabot[bot] 8cb4243c9a
Bump Microsoft.Extensions.Logging.Console from 6.0.0 to 7.0.0 in /eng/dependabot (#2705)
* Bump Microsoft.Extensions.Logging.Console in /eng/dependabot

Bumps [Microsoft.Extensions.Logging.Console](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update schema baseline

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Anderson <jander@microsoft.com>
2022-10-18 10:53:46 -07:00
Joe Schmitt 1449f49acf
Add support for a StoppingEvent on CollectTrace action (#2557) 2022-10-11 13:07:42 -07:00
dependabot[bot] 9a0aad639b
Bump NJsonSchema from 10.5.2 to 10.8.0 in /eng/dependabot (#2616)
* Bump NJsonSchema from 10.5.2 to 10.8.0 in /eng/dependabot

Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.5.2 to 10.8.0.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/compare/v10.5.2...v10.8.0)

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Code fixup to due package version upgrade

* Code fixup to due package version upgrade

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Anderson <jander@microsoft.com>
2022-10-04 15:07:45 -07:00
dependabot[bot] d65f073a76
Bump NJsonSchema from 10.5.2 to 10.8.0 in /eng/dependabot (#2510)
* Bump NJsonSchema from 10.5.2 to 10.8.0 in /eng/dependabot

Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.5.2 to 10.8.0.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/compare/v10.5.2...v10.8.0)

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Code fixup to due package version upgrade

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Anderson <jander@microsoft.com>
2022-10-04 13:26:24 -07:00