mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Ship grafana dashboard together with the plugin
This commit is contained in:
@@ -18,4 +18,12 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ArchiSteamFarm\ArchiSteamFarm.csproj" ExcludeAssets="all" Private="false" />
|
<ProjectReference Include="..\ArchiSteamFarm\ArchiSteamFarm.csproj" ExcludeAssets="all" Private="false" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="overlay\all\**\*.*">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||||
|
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ namespace ArchiSteamFarm.OfficialPlugins.Monitoring;
|
|||||||
|
|
||||||
[Export(typeof(IPlugin))]
|
[Export(typeof(IPlugin))]
|
||||||
[SuppressMessage("ReSharper", "MemberCanBeFileLocal")]
|
[SuppressMessage("ReSharper", "MemberCanBeFileLocal")]
|
||||||
internal sealed class MonitoringPlugin : OfficialPlugin, IWebServiceProvider, IGitHubPluginUpdates, IDisposable {
|
internal sealed class MonitoringPlugin : OfficialPlugin, IDisposable, IGitHubPluginUpdates, IWebInterface, IWebServiceProvider {
|
||||||
private const string MeterName = SharedInfo.AssemblyName;
|
private const string MeterName = SharedInfo.AssemblyName;
|
||||||
|
|
||||||
private const string MetricNamePrefix = "asf";
|
private const string MetricNamePrefix = "asf";
|
||||||
|
|||||||
Reference in New Issue
Block a user