Azure Monitor OpenTelemetry Profiler for .NET — an SDK that captures performance traces from live .NET applications and uploads them to Application Insights. Ships as the Azure.Monitor.OpenTelemetry.Profiler NuGet package. The repo has three layers plus a submodule: There is also a classic EventPipe profiler under src/ServiceProfiler.EventPipe/ that produces the Microsoft.ApplicationInsights.Profiler.AspNetCore NuGet package. The classic and OTel profilers share code via Microsoft.ApplicationInsights.Profiler.Shared. Build the OTel profiler solution (requires PowerShell 7): This restores, builds, publishes the Uploader, and creates the Uploader.zip that…
This is a Serilog sink that ships structured logs to Azure Data Explorer (Kusto). It is a NuGet library owned by Microsoft. This project uses Central Package Management. All package versions are in src/Directory.Packages.props. Individual .csproj files reference packages without versions. Key rules: - Never add Version= to PackageReference elements in .csproj files — that causes error NU1008 - All version changes go to src/Directory.Packages.props - Some packages have TFM-conditional versions (e.g., System.Text.Json is 8.0.0 for net6.0 and 9.0.0 for…
This repo builds notation-azure-artifactsigning, a Notation plugin (a single-file native executable) that signs OCI artifacts using Microsoft's Artifact Signing service. Notation invokes the binary as a subprocess, sends a JSON request on stdin, and expects a JSON response on stdout (or a JSON ErrorResponse on stderr with a non-zero exit code). Implements the Notation plugin contract. Three commands are dispatched from Program.ProcessCommand: Capability advertised: SIGNATURE_GENERATOR.RAW. Only RSA-3072 / SHA-384 / RSASSA-PSS-SHA-384 are supported (see Constants/PluginConstants.cs); validators reject anything else. Targets…
c-util is a Microsoft Azure C utility library providing fundamental data structures and asynchronous operation primitives. This is a C99/C11 library with extensive macro-based code generation patterns for type-safe generic programming.
For Linux systems, first install the following 4 Linux packages with the package manager of the distribution: For both Linux and Windows systems, run the following to install all other required dependencies: Build specific packages using: It auto fixes formatting issues. This ensures all source code follows rustfmt standards. Always run copyright checks before committing: It auto fixes copyright issues. This ensures all source code has correct copyright headers. Run cargo xtask cbindgen (no --fix) to verify the committed header…
These instructions apply to every AI agent session working on this repository, regardless of platform (Linux, Windows, macOS) or context window state. Read this file in its entirety before making any changes. AI can produce code very fast, but bad code is more expensive than ever: a codebase that is hard to change is a codebase where AI compounds entropy on every iteration. Optimize for a codebase that is easy to change, easy to test, and easy to reason about.…
This repository contains sample projects demonstrating how to use the Azure Connectors .NET SDK, including design-time generated POCOs from dynamic schema operations. Code must follow the team's coding conventions based on BPM repo standards. Each connector's sample functions must be in a dedicated file named {Connector}Functions.cs: Variable naming rules: ALWAYS use this multi-line format: Boolean parameters MUST always use named arguments:
This repository contains the lightweight SDK for Azure Logic Apps connectors. Code must follow the team's coding conventions based on BPM repo standards. This SDK selectively follows the Azure SDK Design Guidelines for .NET. Which guidelines are followed, which are intentionally skipped, and what is actively in progress is documented in docs/azure-sdk-guidelines.md. Before adding new public API surface, check that document. Key intentional divergences to preserve: Before reviewing or preparing changes under src/**/Generated/, read docs/generated-contract.md. Generated clients must preserve the…
This document describes the code patterns and conventions used throughout the corim Rust crate. Follow these rules when generating or modifying code to ensure consistency across the codebase. These principles…
The main notebook applications/storm_impact_assessment/hurricane_forecast_infra_impact.ipynb is 1.57 MB / 19K JSON lines / 71 cells with 1.07 MB of embedded outputs. This exceeds VS Code's diff editor limits and causes Copilot edit tools (edit_notebook_file, replace_string_in_file) to fail silently or produce corrupt edits. When making complex edits with multiline old/new text:
This is a multi-language monorepo for Azure Clean Rooms — a confidential computing platform enabling secure multi-party data collaboration using AMD SEV-SNP hardware attestation and the Confidential Consortium Framework (CCF). All components are containerized (41+ Dockerfiles in build/docker/). Build orchestration uses PowerShell: IMPORTANT: Never use raw dotnet build, dotnet restore, dotnet publish, go build, or go run commands directly. Always use the PowerShell build scripts under build/. These scripts handle Docker-based builds, CRD generation, image tagging, and registry push. Direct…
This repo uses AGENTS.md as the canonical agent contract. Read it first. The short version of the protocol: When in doubt, defer to AGENTS.md and the spec — they win over your prior assumptions about how PowerShell modules "usually" look.
This plugin exists to provide a Jaeger UI for traces that are collected via the OpenTelemetry Collector and stored in Azure Data Explorer (Kusto). It is a read-only bridge — the OTEL Collector's ADX exporter handles ingestion; this plugin only queries Kusto to render traces in Jaeger. It does not collect or store metrics itself; the metrics/ package is a PromQL translation shim that computes RED metrics on-the-fly from the same trace data in Kusto. It implements shared.StoragePlugin from Jaeger's…
THIS IS A CMAKE C++ PROJECT - NOT A .NET PROJECT See the "CMake Build Commands Reference" section below for correct commands. Ensure that the code always builds clean for debug and retail builds. Unit tests must pass to consider a unit of work complete once the code has built. MANDATORY: Work is NOT complete until ALL of the following criteria are met: 1. Debug build: Code builds successfully with --preset x64-debug (or equivalent) 2. Retail/Release build: Code builds successfully…