Ship grafana dashboard together with the plugin

This commit is contained in:
Łukasz Domeradzki 2024-04-14 16:54:57 +02:00
parent f2bb2a6bee
commit 49618534ce
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA
3 changed files with 9 additions and 1 deletions

View file

@ -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>

View file

@ -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";