dotnetcore / mocha Goto Github PK
View Code? Open in Web Editor NEWMocha is an application performance monitor tools based on OpenTelemetry, which also provides a scalable platform for observability data analysis and storage.
License: MIT License
Mocha is an application performance monitor tools based on OpenTelemetry, which also provides a scalable platform for observability data analysis and storage.
License: MIT License
Grafana ships with built-in support for Jaeger, which provides open source, end-to-end distributed traces.
Once Mocha is compatible with the Jaeger query protocol, it will be possible to directly use Grafana to explore traces.
Here are references to the Jaeger plugin and jaeger query protocol:
For: a6910fe (recursive checkout)
Running on Windows 10 with Docker Desktop latest, docker compose up -d fails (in Windows Terminal with PS 7.4.1)
=> ERROR [distributor build 10/10] RUN dotnet build "Mocha.Distributor.csproj" -c Release -o /app/build 5.7s
=> [jaeger-query build 8/10] COPY . . 0.1s
=> [jaeger-query build 9/10] WORKDIR /src/src/Mocha.Query.Jaeger 0.0s
=> CANCELED [jaeger-query build 10/10] RUN dotnet build "Mocha.Query.Jaeger.csproj" -c Release -o /app/build 4.9s
------
> [distributor build 10/10] RUN dotnet build "Mocha.Distributor.csproj" -c Release -o /app/build:
0.592 MSBuild version 17.8.3+195e7f5a3 for .NET
1.133 Determining projects to restore...
2.182 All projects are up-to-date for restore.
4.762 Mocha.Protocol.Generated -> /app/build/Mocha.Protocol.Generated.dll
5.551 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(6,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.551 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(7,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(8,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Storage/ISpanWriter.cs(5,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(14,46): error CS0305: Using the generic type 'Span<T>' requires 1 type arguments [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(14,57): error CS0246: The type or namespace name 'Resource' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(59,57): error CS0305: Using the generic type 'Span<T>' requires 1 type arguments [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(69,55): error CS0305: Using the generic type 'Span<T>' requires 1 type arguments [/src/src/Mocha.Core/Mocha.Core.csproj]
5.552 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(82,57): error CS0246: The type or namespace name 'KeyValue' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.578
5.579 Build FAILED.
5.580
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(6,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(7,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(8,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Storage/ISpanWriter.cs(5,7): error CS0246: The type or namespace name 'OpenTelemetry' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(14,46): error CS0305: Using the generic type 'Span<T>' requires 1 type arguments [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(14,57): error CS0246: The type or namespace name 'Resource' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(59,57): error CS0305: Using the generic type 'Span<T>' requires 1 type arguments [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(69,55): error CS0305: Using the generic type 'Span<T>' requires 1 type arguments [/src/src/Mocha.Core/Mocha.Core.csproj]
5.580 /src/src/Mocha.Core/Models/Trace/OTelToMochaSpanConversionExtensions.cs(82,57): error CS0246: The type or namespace name 'KeyValue' could not be found (are you missing a using directive or an assembly reference?) [/src/src/Mocha.Core/Mocha.Core.csproj]
5.581 0 Warning(s)
5.581 9 Error(s)
5.582
5.582 Time Elapsed 00:00:04.82
------
failed to solve: process "/bin/sh -c dotnet build \"Mocha.Distributor.csproj\" -c $BUILD_CONFIGURATION -o /app/build" did not complete successfully: exit code: 1
In v0.1 , we prioritize MySQL as the trace storage. It has the following two purposes:
Build a Chinese User Guide Document for Chinese User Guide and Integrated into system
The proposal design of the Distributor
needs to be completed as a priority, as all future tasks rely on it.
近年来,可观测性概念被提出和逐渐流行,OpenTelemetry 也逐渐成为最流行的可观测性框架,OTel 很好的解决了多语言系统中Metrics\Trace\Log 的收集和标准化问题,但对于如何存储和分析使用收集到的 M.T.L 数据,业界并没有统一的方案,一般来说大家需要
同时上述提到的开源 APM 后端,除 SkyWalking [Java实现]外,其余无一例外使用 Golang 实现。
而从 .NET 5 以来,到目前的 .NET 8,每一个版本都对 CLR 和 BCL做了大量性能优化和提供了面向高性能场景的新语言特性,.NET 的演进很适合开发高性能的云原生中间件。所以我们发起 mocha 项目,使用 .NET 实现一个面向大规模可观测性数据分析和存储的平台。
Mocha 的定位:基于 OpenTelemetry 的 APM 系统,同时提供可伸缩的可观测性数据分析和存储平台。
Mocha 由下面的部分组成
It has the following two purposes:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.