13 | Request ID: @Model.RequestId
14 |
21 | @Model.Referrer 22 |
23 | } 24 | 25 | @if (@Model.ShowExceptionMessage) 26 | { 27 |29 | @Model.ExceptionMessage 30 |
31 | } 32 | -------------------------------------------------------------------------------- /.vault-config/dotneteng-status-staging.yaml: -------------------------------------------------------------------------------- 1 | storageLocation: 2 | type: azure-key-vault 3 | parameters: 4 | subscription: cab65fc3-d077-467d-931f-3932eabf36d3 5 | name: dotneteng-status-staging 6 | 7 | references: 8 | helixkv: 9 | type: azure-key-vault 10 | parameters: 11 | subscription: a4fc5514-21a9-4296-bfaf-5c7ee7fa35d1 12 | name: helixkv 13 | 14 | keys: 15 | dotnet-status-data-protection: 16 | type: RSA 17 | size: 2048 18 | 19 | importSecretsFrom: shared/dotneteng-status-secrets.yaml 20 | 21 | secrets: 22 | # Grafana API key with admin privileges 23 | grafana-api-token: 24 | type: grafana-api-key 25 | parameters: 26 | environment: dotnet-eng-grafana-staging.westus2.cloudapp.azure.com 27 | -------------------------------------------------------------------------------- /src/Monitoring/Monitoring.ArcadeServices/datasource/Staging/Azure Data Explorer.datasource.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "OlcfOPi7z", 3 | "type": "grafana-azure-data-explorer-datasource", 4 | "typeLogoUrl": "", 5 | "access": "proxy", 6 | "password": "", 7 | "user": "", 8 | "database": "", 9 | "basicAuth": false, 10 | "basicAuthUser": "", 11 | "basicAuthPassword": "", 12 | "withCredentials": false, 13 | "isDefault": false, 14 | "jsonData": { 15 | "azureCredentials": { 16 | "authType": "msi" 17 | }, 18 | "clusterUrl": "https://engdata.kusto.windows.net", 19 | "dataConsistency": "strongconsistency", 20 | "defaultDatabase": "engineeringdata", 21 | "defaultEditorMode": "visual" 22 | }, 23 | "readOnly": false 24 | } -------------------------------------------------------------------------------- /src/Monitoring/Monitoring.ArcadeServices/datasource/Production/Azure Data Explorer.datasource.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "OlcfOPi7z", 3 | "type": "grafana-azure-data-explorer-datasource", 4 | "typeLogoUrl": "", 5 | "access": "proxy", 6 | "password": "", 7 | "user": "", 8 | "database": "", 9 | "basicAuth": false, 10 | "basicAuthUser": "", 11 | "basicAuthPassword": "", 12 | "withCredentials": false, 13 | "isDefault": false, 14 | "jsonData": { 15 | "azureCredentials": { 16 | "authType": "msi" 17 | }, 18 | "clusterUrl": "https://engsrvprod.kusto.windows.net", 19 | "dataConsistency": "strongconsistency", 20 | "defaultDatabase": "engineeringdata", 21 | "defaultEditorMode": "visual" 22 | }, 23 | "readOnly": false 24 | } -------------------------------------------------------------------------------- /src/Telemetry/AzureDevOpsTimeline/AugmentedTimelineIssue.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Microsoft.DotNet.Internal.AzureDevOps; 6 | 7 | namespace Microsoft.DotNet.AzureDevOpsTimeline; 8 | 9 | public class AugmentedTimelineIssue 10 | { 11 | public int BuildId { get; init; } 12 | public string TimelineId { get; init; } 13 | public string RecordId { get; init; } 14 | public int Index { get; init; } 15 | public TimelineIssue Raw { get; init; } 16 | public string AugmentedIndex { get; set; } 17 | public string Bucket { get; set; } 18 | } 19 | -------------------------------------------------------------------------------- /eng/common/templates/post-build/common-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | - group: Publish-Build-Assets 3 | 4 | # Whether the build is internal or not 5 | - name: IsInternalBuild 6 | value: ${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }} 7 | 8 | # Default Maestro++ API Endpoint and API Version 9 | - name: MaestroApiEndPoint 10 | value: "https://maestro.dot.net" 11 | - name: MaestroApiAccessToken 12 | value: $(MaestroAccessToken) 13 | - name: MaestroApiVersion 14 | value: "2020-02-20" 15 | 16 | - name: SourceLinkCLIVersion 17 | value: 3.0.0 18 | - name: SymbolToolVersion 19 | value: 1.0.1 20 | 21 | - name: runCodesignValidationInjection 22 | value: false 23 | -------------------------------------------------------------------------------- /.vault-config/dotnet-grafana-production.yaml: -------------------------------------------------------------------------------- 1 | storageLocation: 2 | type: azure-key-vault 3 | parameters: 4 | subscription: a4fc5514-21a9-4296-bfaf-5c7ee7fa35d1 5 | name: dotnet-grafana 6 | 7 | importSecretsFrom: shared/dotnet-grafana-secrets.yaml 8 | 9 | secrets: 10 | # Used by machine setup scripts during deployment and for the alert system for image storage 11 | dotnetgrafana-storage-account-key: 12 | type: azure-storage-key 13 | parameters: 14 | account: dotnetgrafana 15 | subscription: a4fc5514-21a9-4296-bfaf-5c7ee7fa35d1 16 | 17 | # Grafana API token with Admin privileges 18 | grafana-admin-api-key: 19 | type: grafana-api-key 20 | parameters: 21 | environment: dotnet-eng-grafana.westus2.cloudapp.azure.com 22 | -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/common-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | - group: Publish-Build-Assets 3 | 4 | # Whether the build is internal or not 5 | - name: IsInternalBuild 6 | value: ${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }} 7 | 8 | # Default Maestro++ API Endpoint and API Version 9 | - name: MaestroApiEndPoint 10 | value: "https://maestro.dot.net" 11 | - name: MaestroApiAccessToken 12 | value: $(MaestroAccessToken) 13 | - name: MaestroApiVersion 14 | value: "2020-02-20" 15 | 16 | - name: SourceLinkCLIVersion 17 | value: 3.0.0 18 | - name: SymbolToolVersion 19 | value: 1.0.1 20 | 21 | - name: runCodesignValidationInjection 22 | value: false 23 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/default-dnceng-issue-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Default Dnceng Issue Template 3 | about: Used by Dnceng as the default issue template 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ### Release Note Category 17 | - [ ] Feature changes/additions 18 | - [ ] Bug fixes 19 | - [ ] Internal Infrastructure Improvements 20 | ### Release Note Description -------------------------------------------------------------------------------- /src/Telemetry/AzureDevOpsTimeline/IBuildLogScraper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading; 6 | using System.Threading.Tasks; 7 | using Microsoft.DotNet.Internal.AzureDevOps; 8 | 9 | namespace Microsoft.DotNet.AzureDevOpsTimeline; 10 | 11 | public interface IBuildLogScraper 12 | { 13 | Task| Route Template | 14 |Target | 15 |Constraints/Verbs | 16 |Name | 17 ||
|---|---|---|---|---|
| @route.Template | 26 | @if (string.IsNullOrEmpty(route.Page)) 27 | { 28 |Controller @route.Controller, Action @route.Action | 29 | } 30 | else 31 | { 32 |Page @route.Page | 33 | } 34 |@route.Constraint | 35 |@route.Name | 36 |