All Projects → microsoft → Applicationinsights Aspnetcore

microsoft / Applicationinsights Aspnetcore

Licence: mit
ASP.NET Core web applications monitoring

Projects that are alternatives of or similar to Applicationinsights Aspnetcore

Applicationinsights Home
Application Insights main repository for documentation of overall SDK offerings for all platforms.
Stars: ✭ 221 (-27.78%)
Mutual labels:  azure, monitoring, distributed-tracing, observability, telemetry, application-insights
Applicationinsights Go
Microsoft Application Insights SDK for Go
Stars: ✭ 113 (-63.07%)
Mutual labels:  azure, monitoring, distributed-tracing, observability, telemetry, application-insights
Applicationinsights Dotnet
ApplicationInsights-dotnet
Stars: ✭ 367 (+19.93%)
Mutual labels:  azure, monitoring, distributed-tracing, observability, telemetry, application-insights
Applicationinsights Dotnet Server
Microsoft Application Insights for .NET Web Applications
Stars: ✭ 130 (-57.52%)
Mutual labels:  azure, monitoring, distributed-tracing, observability, telemetry, application-insights
Applicationinsights Java
Application Insights for Java
Stars: ✭ 172 (-43.79%)
Mutual labels:  azure, monitoring, distributed-tracing, observability, application-insights
Applicationinsights Php
Azure Application Insights SDK for PHP
Stars: ✭ 98 (-67.97%)
Mutual labels:  azure, monitoring, distributed-tracing, telemetry, application-insights
Applicationinsights Node.js
Microsoft Application Insights SDK for Node.js
Stars: ✭ 229 (-25.16%)
Mutual labels:  azure, monitoring, distributed-tracing, observability, application-insights
Applicationinsights Js
Microsoft Application Insights SDK for JavaScript
Stars: ✭ 462 (+50.98%)
Mutual labels:  azure, monitoring, observability, application-insights
Applicationinsights Python
Application Insights SDK for Python
Stars: ✭ 114 (-62.75%)
Mutual labels:  monitoring, distributed-tracing, telemetry, application-insights
Applicationinsights Dotnet Logging
.NET Logging adaptors
Stars: ✭ 100 (-67.32%)
Mutual labels:  azure, monitoring, telemetry, application-insights
Epsagon Go
Automated tracing library for Go 1.x ⚡️
Stars: ✭ 24 (-92.16%)
Mutual labels:  monitoring, distributed-tracing, observability
Opentelemetry Js
OpenTelemetry JavaScript Client
Stars: ✭ 700 (+128.76%)
Mutual labels:  monitoring, distributed-tracing, telemetry
Live.asp.net
Code for live.asp.net, which hosts the ASP.NET Community Stand-up
Stars: ✭ 295 (-3.59%)
Mutual labels:  azure, aspnetcore, dotnetcore
Appmetrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Stars: ✭ 1,986 (+549.02%)
Mutual labels:  monitoring, application-insights, dotnetcore
Azuremonitoringhackathon
Operationalize Azure deployments with Azure platform tools​
Stars: ✭ 46 (-84.97%)
Mutual labels:  azure, monitoring, application-insights
Aspnetboilerplate Core Ng
Tutorial for ASP.NET Boilerplate Core + Angular
Stars: ✭ 61 (-80.07%)
Mutual labels:  azure, aspnetcore, dotnetcore
skywalking-kong
Kong agent for Apache SkyWalking
Stars: ✭ 17 (-94.44%)
Mutual labels:  observability, distributed-tracing
skywalking-nodejs
The NodeJS agent for Apache SkyWalking
Stars: ✭ 81 (-73.53%)
Mutual labels:  observability, distributed-tracing
ChatService
ChatService (SignalR).
Stars: ✭ 26 (-91.5%)
Mutual labels:  aspnetcore, dotnetcore
Orchard-Azure-Application-Insights
This Orchard CMS module enables easy integration of Azure Application Insights telemetry into Orchard. Useful for Azure-based cloud hsoting.
Stars: ✭ 17 (-94.44%)
Mutual labels:  application-insights, telemetry

This repo is in the process of being migrated

Please pardon our progress... We are currently in the process of consolidating our github repos. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1214

NuGet packages

Windows: Build Status

Linux :Build Status

Microsoft Application Insights for ASP.NET Core applications

This repository has a code for Application Insights monitoring of ASP.NET Core applications. Read about contribution policies on Application Insights Home repository

Getting Started

Application Insights monitoring is a service that allows you to collect monitoring and diagnostics information about your application. The getting started guide shows how you can onboard your ASP.NET Core web application to use the Application Insights SDK.

Repository structure

root\
    ApplicationInsights.AspNetCore.sln - Main Solution

    src\
        ApplicationInsights.AspNetCore - Application Insights package

    test\
        ApplicationInsights.AspNetCore.Tests - Unit tests
        FunctionalTestUtils - Test utilities for functional tests
        MVCFramework.FunctionalTests - functional tests for MVC application targeting NetCore1.1,NetCore2.0 and NET45
        WebApi.FunctionalTests - functional tests for Web API application targeting NetCore1.1,NetCore2.0 and NET45
		EmptyApp.FunctionalTests - functional tests for an Empty application targeting NetCore1.1,NetCore2.0 and NET45
        PerfTest - performance test

Developing

To successfully build the sources on your machine, make sure you've installed the following prerequisites:

Building

Once you've installed the prerequisites execute buildDebug.cmd or buildRelease.cmd script in the repository root to build the project locally. You can also open the solution in Visual Studio and build the ApplicationInsights.AspNetCore.sln solution directly.

Testing/Debugging

Execute the RunTests.cmd script in the repository root.

You can also open the solution in Visual Studio and run tests directly from Visual Studio Test Explorer. However, as the tests has multiple targets, Test Explorer only shows the first target from in .csproj. To debug/run tests from a particular TargetFramework with Visual Studio, only option is to re-arrange the such that the intended target comes first. This is a Visual Studio limitation and is likely removed in the future.

Running and writing tests

There are two sets of tests unit tests and functional tests. Please use unit tests for all features testing. The purpose of functional tests is just end-to-end validation of functionality on sample applications.

Functional tests Functional tests are regular web applications with unit tests integrated into them. Application can be compiled as a regular web application as well as set of tests. Typical functional tests will do the following:

  1. Host the current project in In-Proc server.
  2. Initialize application insights telemetry channel.
  3. Initiate request to self hosted web application using HttpClient.
  4. Check data received in telemetry channel.

The following are modifications made to a regular web application to make it work this way:

Add dependencies to .csproj:

"FunctionalTestUtils": "1.0.0-*",
"dotnet.test.xunit": "1.0.0-*",
"xunit": "2.1.0"

and test command:

"test": "xunit"

Add this initialization logic to Startup.cs:

services.AddFunctionalTestTelemetryChannel();

Branches

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].