{"id":13790064,"url":"https://github.com/davidjrh/dnn.appinsights","last_synced_at":"2025-10-02T03:00:08.890Z","repository":{"id":3466924,"uuid":"49374759","full_name":"davidjrh/dnn.appinsights","owner":"davidjrh","description":"A module to use Visual Studio Application Insights with the DNN Platform (formerly DotNetNuke) CMS","archived":false,"fork":false,"pushed_at":"2025-03-27T17:57:53.000Z","size":5626,"stargazers_count":10,"open_issues_count":16,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T18:46:46.033Z","etag":null,"topics":["appinsights","application-insights","dnn","dnn-platform","dnncms","monitoring"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidjrh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-01-10T16:23:23.000Z","updated_at":"2025-03-27T17:53:10.000Z","dependencies_parsed_at":"2024-01-19T17:04:22.881Z","dependency_job_id":"c14d9395-e9d2-4b08-ad56-e11c399faf95","html_url":"https://github.com/davidjrh/dnn.appinsights","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjrh%2Fdnn.appinsights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjrh%2Fdnn.appinsights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjrh%2Fdnn.appinsights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjrh%2Fdnn.appinsights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidjrh","download_url":"https://codeload.github.com/davidjrh/dnn.appinsights/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253695127,"owners_count":21948817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appinsights","application-insights","dnn","dnn-platform","dnncms","monitoring"],"created_at":"2024-08-03T22:00:36.494Z","updated_at":"2025-10-02T03:00:03.770Z","avatar_url":"https://github.com/davidjrh.png","language":"JavaScript","funding_links":[],"categories":["Awesome DNN (DotNetNuke) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Open Source Modules"],"readme":"# AppInsights module for DNN Platform\nA module to use Visual Studio Application Insights with the DNN Platform CMS. The telemetry sent to AppInsights includes: page views, web requests, trace information (log4net log file content) and exceptions (including client side browser exceptions).\n\n## Getting started\nThis module is a DNN Platorm extension to integrate Visual Studio Application Insights to monitor your DNN installation. To setup the module on your installation, follow these steps:\n\n1. Provision a new AppInsights service following the guide at https://azure.microsoft.com/en-us/documentation/articles/app-insights-overview/. Ensure you choose \"ASP.net web application\" on the \"Application Type\" parameter\n2. Once provisioned, copy the \"Instrumentation Key\" available on the resource Essentials properties \n![alt text](https://intelequia.blob.core.windows.net/images/AppInsights_InstrumentationKey.png \"Instrumentation Key\")\n3. Now from the Releases section https://github.com/davidjrh/dnn.appinsights/releases, download the latest module package version ending on \"...Install.zip\" (the Source.zip package contains the source code that is not needed for production websites). \n4. Install the extension package in your DNN instance from the \"Settings \u003e Extensions\" persona bar menu like any other module\n5. Once installed, a new menu under \"Settings \u003e Application Insights\" will allow you to paste the instrumentation key obtained on step 2. After appying the changes, you will start receiving data on AppInsights after a few minutes.\n![alt text](https://intelequia.blob.core.windows.net/images/AppInsights_InstrumentationKey3.png \"Instrumentation Key\")\n\n# Building the solution\n### Requirements\n* Visual Studio 2022 (download from https://www.visualstudio.com/downloads/)\n* npm package manager (download from https://www.npmjs.com/get-npm)\n\n### Install package dependencies\nFrom the command line, enter the `\u003cRepoRoot\u003e\\AppInsightsProvider\\AppInsights.Web` and run the following commands:\n```\n  npm install -g webpack\n  npm install -g webpack-cli\n  npm install -g webpack-dev-server --force\n  npm install --force\n```\n\n### Debug the client side app\nTo debug the client side, build the module in debug mode and copy the .dll and .pdb files into your site /bin folder (you can tweak the post build event for such purpose). That will try to load the persona bar bundle script from https://localhost:8080. \n\nThe second step is to start the local webpack dev server. To do it, \nFrom the command line, enter the `\u003cRepoRoot\u003e\\AppInsightsProvider\\AppInsights.Web` and run the following commands:\n```\n  webpack-dev-server\n```\n\n### Build the module\nNow you can build the solution by opening the AppInsightsProvider.sln file on Visual Studio. Building the solution in \"Release\", will generate the React bundle and package it all together with the installation zip file, created under the \"\\releases\" folder.\n\nOn the Visual Studio output window you should see something like this:\n```\n1\u003e------ Rebuild All started: Project: AppInsightsProvider, Configuration: Release Any CPU ------\n1\u003e  AppInsightsProvider -\u003e C:\\Dev\\dnn.appinsights\\AppInsightsProvider\\bin\\DotNetNuke.Monitoring.AppInsights.dll\n1\u003e  Hash: 8c2d469754dbc5e04ffd\n1\u003e  Version: webpack 1.13.0\n1\u003e  Time: 4162ms\n1\u003e         Asset     Size  Chunks             Chunk Names\n1\u003e  bundle-en.js  39.8 kB       0  [emitted]  main\n1\u003e      + 38 hidden modules\n1\u003e  \n1\u003e  WARNING in bundle-en.js from UglifyJs\n1\u003e  Condition always true [./src/containers/Root.js:2,4]\n1\u003e  Dropping unreachable code [./src/containers/Root.js:5,4]\n1\u003e  Condition always false [./~/style-loader/addStyles.js:24,0]\n1\u003e  Dropping unreachable code [./~/style-loader/addStyles.js:25,0]\n1\u003e  Condition always false [./~/style-loader!./~/css-loader!./~/less-loader!./src/components/style.less:10,0]\n1\u003e  Dropping unreachable code [./~/style-loader!./~/css-loader!./~/less-loader!./src/components/style.less:12,0]\n1\u003e  Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/less-loader!./src/components/style.less:7,0]\n========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidjrh%2Fdnn.appinsights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidjrh%2Fdnn.appinsights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidjrh%2Fdnn.appinsights/lists"}