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" />
                    
Directory.Packages.props
<PackageReference Include="Meshmakers.Common.Metrics" />
                    
Project file
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
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=Meshmakers.Common.Metrics&version=4.1.40
                    
Install as a Cake Tool

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; ArgumentValidation guards; MmPath path 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). Targets net8.0, net9.0 and netstandard2.0.
  • Meshmakers.Common.Configuration - persists strongly-typed IOptions<T> settings to a per-user settings.json under the user profile via IConfigWriter / ConfigWriter. Built on Microsoft.Extensions.Options and System.IO.Abstractions.
  • Meshmakers.Common.CommandLineParser - command/argument parser for console applications. IParserService parses and validates arguments, models commands and their arguments, renders usage information, and supports registered code samples. Built on Microsoft.Extensions.Logging.Abstractions and Microsoft.Extensions.Options.
  • Meshmakers.Common.Metrics - runtime measurement and Prometheus publishing. IMetricsContext creates scoped IRuntimeMeter instances with named checkpoints and exposes results, optionally publishing them on a Prometheus metrics endpoint (default port 9184). Built on prometheus-net and prometheus-net.AspNetCore.

Project structure

  • src/ - the four packable libraries plus CommandLineParser.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 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.

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