{"id":14972025,"url":"https://github.com/appmetrics/appmetrics","last_synced_at":"2026-10-19T08:48:04.571Z","repository":{"id":41168936,"uuid":"74253137","full_name":"AppMetrics/AppMetrics","owner":"AppMetrics","description":"App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.","archived":false,"fork":false,"pushed_at":"2025-07-23T12:16:32.000Z","size":8075,"stargazers_count":2247,"open_issues_count":111,"forks_count":289,"subscribers_count":94,"default_branch":"features/4.4.0","last_synced_at":"2026-10-14T08:59:13.277Z","etag":null,"topics":["application-insights","dotnet","dotnet-core","dotnet-framework","dotnet-standard","dotnetcore","grafana","grafana-dashboard","graphite","health-check","influxdb","instrumentation","metrics","monitoring","performance","prometheus"],"latest_commit_sha":null,"homepage":"https://app-metrics.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AppMetrics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2016-11-20T04:39:02.000Z","updated_at":"2026-10-09T17:22:16.000Z","dependencies_parsed_at":"2026-10-06T07:35:57.888Z","dependency_job_id":null,"html_url":"https://github.com/AppMetrics/AppMetrics","commit_stats":null,"previous_names":["alhardy/appmetrics"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/AppMetrics/AppMetrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppMetrics%2FAppMetrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppMetrics%2FAppMetrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppMetrics%2FAppMetrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppMetrics%2FAppMetrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AppMetrics","download_url":"https://codeload.github.com/AppMetrics/AppMetrics/tar.gz/refs/heads/features/4.4.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppMetrics%2FAppMetrics/sbom","scorecard":{"id":15343,"data":{"date":"2025-08-11","repo":{"name":"github.com/AppMetrics/AppMetrics","commit":"b9f9e75d0190bc18028a6473ce2b30488879be63"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 9/29 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(dev): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T15:38:05.762Z","repository_id":41168936,"created_at":"2025-08-14T15:38:05.762Z","updated_at":"2025-08-14T15:38:05.762Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38352851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["application-insights","dotnet","dotnet-core","dotnet-framework","dotnet-standard","dotnetcore","grafana","grafana-dashboard","graphite","health-check","influxdb","instrumentation","metrics","monitoring","performance","prometheus"],"created_at":"2024-09-24T13:46:13.655Z","updated_at":"2026-10-19T08:48:04.029Z","avatar_url":"https://github.com/AppMetrics.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# App Metrics \u003cimg src=\"https://www.app-metrics.io/images/logo.png\" alt=\"App Metrics\" width=\"50px\"/\u003e \n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://opensource.org/licenses/Apache-2.0)\n[![Donate](https://img.shields.io/badge/donorbox-donate-blue.svg)](https://donorbox.org/help-support-appmetrics?recurring=true) \n\n## What is App Metrics?\n\nApp Metrics is an open-source and cross-platform .NET library used to record metrics within an application. App Metrics can run on .NET Core or on the full .NET framework. App Metrics abstracts away the underlaying repository of your Metrics for example InfluxDB, Graphite, Prometheus etc, by sampling and aggregating in memory and providing extensibility points to flush metrics to a repository at a specified interval.\n\nApp Metrics provides various metric types to measure things such as the rate of requests, counting the number of user logins over time, measure the time taken to execute a database query, measure the amount of free memory and so on. Metrics types supported are Gauges, Counters, Meters, Histograms and Timers and Application Performance Indexes [Apdex](https://www.apdex.org/overview).\n\n`App.Metrics` includes an Exponentially Forward Decaying, Sliding Window and Algorithm R reservoir implementations.\n\n### Documentation\n\nhttps://github.com/AppMetrics/Docs.V2.Hugo/tree/main\n\n## Latest Builds, Packages \u0026 Repo Stats\n\n|Branch|Azure Devops|\n|------|:--------:|\n|dev|[![Azure Devops](https://img.shields.io/azure-devops/build/AppMetrics/AppMetrics/3/dev.svg?style=flat-square\u0026label=build)](https://dev.azure.com/appmetrics/AppMetrics/_build?definitionId=3)\n|main|[![AppVeyor](https://img.shields.io/azure-devops/build/AppMetrics/AppMetrics/3/main.svg?style=flat-square\u0026label=build)](https://dev.azure.com/appmetrics/AppMetrics/_build?definitionId=3)\n----------\n\n## Visualization\n\nDashboards can be imported from [Grafana](https://grafana.com/dashboards?search=app%20metrics)\n\n#### Grafana Web Monitoring\n\n![Grafana/InfluxDB Generic Web Dashboard Demo](https://raw.githubusercontent.com/AppMetrics/Docs.V2.Hugo/main/static/images/generic_grafana_dashboard_demo.gif)\n\n\n#### Grafana OAuth2 Client Web Monitoring\n\n![Grafana/InfluxDB Generic OAuth2 Web Dashboard Demo](https://raw.githubusercontent.com/AppMetrics/Docs.V2.Hugo/main/static/images/generic_grafana_oauth2_dashboard_demo.gif)\n\n\n## How to build\n\n[Azure Devops](https://dev.azure.com/appmetrics/AppMetrics/_build?definitionId=3) builds are triggered on commits and PRs to the `dev` branch\n\n- Install the latest [.NET Core 2.x SDK](https://dotnet.microsoft.com/download#/current)\n- Run `build.ps1` or `build.sh` in the root of the repository\n\n## How to run benchmarks\n\nApp.Metrics includes benchmarking using [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet).\n\nTwo benchmark projects exist targeting App.Metrics.Core and App.Metrics.Concurrency\n\n```\n\tcd .\\src\\Core\\benchmarks\\App.Metrics.Benchmarks.Runner\n\tdotnet run -c \"Release\" --framework netcoreapp3.1\n\n\tcd .\\src\\Concurrency\\benchmarks\\App.Metrics.Concurrency.Benchmarks.Runner\n\tdotnet run -c \"Release\" --framework netcoreapp3.1\n```\n\nYou'll then be prompted to choose a benchmark to run which will output a markdown file with the result in directory.\n\nYou can find the benchmark results [here](https://github.com/alhardy/AppMetrics/tree/dev/src/Core/benchmarks/App.Metrics.Benchmarks.Runner/BenchmarkDotNet.Artifacts/results) and [here](https://github.com/alhardy/AppMetrics/tree/dev/src/Concurrency/benchmarks/App.Metrics.Concurrency.Benchmarks.Runner/BenchmarkDotNet.Artifacts/results).\n\n## Contributing\n\nSee the [contribution guidlines](.github/CONTRIBUTING.md) for details.\n\n## Acknowledgements\n\n* [ASP.NET Core](https://github.com/aspnet)\n* [Grafana](https://grafana.com/)\n* [Fluent Assertions](http://www.fluentassertions.com/)\n* [xUnit.net](https://xunit.github.io/)\n* [Hugo](https://gohugo.io/)\n* [Netlify](https://www.netlify.com/)\n\n***Thanks for providing free open source licensing***\n\n* [NDepend](http://www.ndepend.com/) \n* [Jetbrains](https://www.jetbrains.com/dotnet/) \n\n## License\n\nThis library is release under Apache 2.0 License ( see LICENSE ) Copyright (c) 2016 Allan Hardy\n\nSee [LICENSE](https://github.com/AppMetrics/AppMetrics/blob/dev/LICENSE)\n\n----------\n\nApp Metrics is based on the [Metrics.NET](https://github.com/etishor/Metrics.NET) library, and at the moment uses the same reservoir sampling code from the original library which is a port of the Java [Dropwizard Metrics](https://github.com/dropwizard/metrics) library. \n\n*Metrics.NET Licensed under these terms*:\n\"Metrics.NET is release under Apache 2.0 License Copyright (c) 2014 Iulian Margarintescu\" see [LICENSE](https://github.com/etishor/Metrics.NET/blob/main/LICENSE)\n\n*Dropwizard Metrics* Licensed under these terms*:\n\"Copyright (c) 2010-2013 Coda Hale, Yammer.com Published under Apache Software License 2.0, see [LICENSE](https://github.com/dropwizard/metrics/blob/3.2-development/LICENSE)\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappmetrics%2Fappmetrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappmetrics%2Fappmetrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappmetrics%2Fappmetrics/lists"}