Meshmakers.Common.Metrics
4.1.40
dotnet add package Meshmakers.Common.Metrics --version 4.1.40
NuGet\Install-Package Meshmakers.Common.Metrics -Version 4.1.40
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meshmakers.Common.Metrics" Version="4.1.40" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meshmakers.Common.Metrics" Version="4.1.40" />
<PackageReference Include="Meshmakers.Common.Metrics" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meshmakers.Common.Metrics --version 4.1.40
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meshmakers.Common.Metrics, 4.1.40"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meshmakers.Common.Metrics@4.1.40
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meshmakers.Common.Metrics&version=4.1.40
#tool nuget:?package=Meshmakers.Common.Metrics&version=4.1.40
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Meshmakers.Common
Foundational .NET libraries shared across Meshmakers and OctoMesh services. The repository publishes a set of small, dependency-light NuGet packages multi-targeting net8.0/net9.0/net10.0 (with netstandard2.0 for Shared).
Published packages
- Meshmakers.Common.Shared - common primitives and helpers: extension methods for strings, enumerables, dates, types, URIs and exceptions;
ArgumentValidationguards;MmPathpath normalization;RandomGenerator; INI file reading/writing (IniFile); a localization-provider abstraction (ILocalizationProvider); MEF-based composition helpers (CompositionExtensions); abstracted services for compression, console and environment access (ICompressionService,IConsoleService,IEnvironmentService); and a small dependency-aware task runner (TaskEngine/TaskBase). Targetsnet8.0,net9.0andnetstandard2.0. - Meshmakers.Common.Configuration - persists strongly-typed
IOptions<T>settings to a per-usersettings.jsonunder the user profile viaIConfigWriter/ConfigWriter. Built onMicrosoft.Extensions.OptionsandSystem.IO.Abstractions. - Meshmakers.Common.CommandLineParser - command/argument parser for console applications.
IParserServiceparses and validates arguments, models commands and their arguments, renders usage information, and supports registered code samples. Built onMicrosoft.Extensions.Logging.AbstractionsandMicrosoft.Extensions.Options. - Meshmakers.Common.Metrics - runtime measurement and Prometheus publishing.
IMetricsContextcreates scopedIRuntimeMeterinstances with named checkpoints and exposes results, optionally publishing them on a Prometheus metrics endpoint (default port9184). Built onprometheus-netandprometheus-net.AspNetCore.
Project structure
src/- the four packable libraries plusCommandLineParser.Sample, a runnable console example.test/- xUnit-style test projects for each library (SharedTests,ConfigurationTests,CommandLineParserTests,MetricsTests).
Build
dotnet build Meshmakers.Common.sln
Test
dotnet test Meshmakers.Common.sln
Documentation
The complete OctoMesh documentation is available at https://docs.meshmakers.cloud.
License
Released under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- prometheus-net (>= 8.2.1)
- prometheus-net.AspNetCore (>= 8.2.1)
-
net8.0
- prometheus-net (>= 8.2.1)
- prometheus-net.AspNetCore (>= 8.2.1)
-
net9.0
- prometheus-net (>= 8.2.1)
- prometheus-net.AspNetCore (>= 8.2.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Meshmakers.Common.Metrics:
| Package | Downloads |
|---|---|
|
Meshmakers.Octo.Runtime.Engine.MongoDb
Octo Mesh Runtime Engine for MongoDB. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.40 | 75 | 6/23/2026 |
| 4.1.38 | 470 | 6/11/2026 |
| 4.1.37 | 98 | 6/2/2026 |
| 4.1.35 | 1,431 | 5/7/2026 |
| 4.1.34 | 124 | 3/18/2026 |
| 4.1.33 | 130 | 2/28/2026 |
| 4.1.32 | 128 | 2/26/2026 |
| 4.1.31 | 2,041 | 1/15/2026 |
| 4.1.30 | 136 | 1/15/2026 |
| 4.1.29 | 228 | 11/27/2025 |
| 4.1.28 | 962 | 11/17/2025 |
| 4.1.27 | 317 | 11/13/2025 |
| 4.1.26 | 479 | 11/10/2025 |
| 4.1.25 | 247 | 10/23/2025 |
| 4.1.24 | 216 | 10/16/2025 |
| 4.1.23 | 229 | 9/25/2025 |
| 4.1.22 | 1,071 | 9/11/2025 |
| 4.1.21 | 224 | 8/21/2025 |
| 4.1.20 | 313 | 8/7/2025 |
| 4.1.19 | 737 | 7/28/2025 |
Loading failed