Compare commits
3 Commits
630ae101e5
...
f1be1e80b9
Author | SHA1 | Date | |
---|---|---|---|
|
f1be1e80b9 | ||
|
9c7d7928e9 | ||
|
95166c1d18 |
13
EdenicExporter/.idea/.idea.edenic-exporter.dir/.idea/.gitignore
vendored
Normal file
13
EdenicExporter/.idea/.idea.edenic-exporter.dir/.idea/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
/modules.xml
|
||||||
|
/contentModel.xml
|
||||||
|
/.idea.edenic-exporter.iml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
@ -0,0 +1 @@
|
|||||||
|
edenic-exporter
|
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||||
|
</project>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -5,6 +5,8 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<AssemblyName>EdenicExporter</AssemblyName>
|
||||||
|
<RootNamespace>EdenicExporter</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -6,13 +6,81 @@ using Microsoft.AspNetCore.Http;
|
|||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Prometheus;
|
using Prometheus;
|
||||||
|
using System.Net.Http;
|
||||||
|
using System.Net.Http.Headers;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace PrometheusExporterEdenic
|
namespace PrometheusExporterEdenic
|
||||||
{
|
{
|
||||||
|
public class Device
|
||||||
|
{
|
||||||
|
public string id { get; set; }
|
||||||
|
public string name { get; set; }
|
||||||
|
public string label { get; set; }
|
||||||
|
// Add other properties as needed
|
||||||
|
}
|
||||||
|
public class ApiClient
|
||||||
|
{
|
||||||
|
private readonly HttpClient _client;
|
||||||
|
private readonly string _authToken;
|
||||||
|
private readonly string _orgid;
|
||||||
|
private readonly string _apimainurl = "https://api.edenic.io/api/v1/device";
|
||||||
|
|
||||||
|
public ApiClient(string authToken, string orgID)
|
||||||
|
{
|
||||||
|
_client = new HttpClient();
|
||||||
|
_authToken = authToken;
|
||||||
|
_orgid = orgID;
|
||||||
|
_client.DefaultRequestHeaders.Authorization =
|
||||||
|
new AuthenticationHeaderValue(_authToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task<dynamic> MakeApiRequest<T>(string path)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
HttpResponseMessage response = await _client.GetAsync($"{_apimainurl}/{_orgid}{path}");
|
||||||
|
|
||||||
|
if (response.IsSuccessStatusCode)
|
||||||
|
{
|
||||||
|
string content = await response.Content.ReadAsStringAsync();
|
||||||
|
return JsonSerializer.Deserialize<dynamic>(content); }
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new HttpRequestException($"Error: {response.StatusCode}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (HttpRequestException e)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"Request exception: {e.Message}");
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
catch (JsonException e)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"JSON parsing exception: {e.Message}");
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task<string> GetDeviceIdByName(string name)
|
||||||
|
{
|
||||||
|
dynamic result = await MakeApiRequest<object>("");
|
||||||
|
var jsonString = JsonSerializer.Serialize(result);
|
||||||
|
var devices = JsonSerializer.Deserialize<List<Device>>(jsonString);
|
||||||
|
var targetDevice = devices.FirstOrDefault((Func<Device, bool>)(d => d.label == name));
|
||||||
|
return targetDevice?.id;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public class Program
|
public class Program
|
||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
string EDENIC_API_TOKEN = Environment.GetEnvironmentVariable("EDENIC_API_TOKEN");
|
||||||
|
string EDENIC_ORG_ID = Environment.GetEnvironmentVariable("EDENIC_ORG_ID");
|
||||||
|
ApiClient client = new ApiClient(EDENIC_API_TOKEN, EDENIC_ORG_ID);
|
||||||
|
Console.WriteLine(client.GetDeviceIdByName("The First One"));
|
||||||
CreateHostBuilder(args).Build().Run();
|
CreateHostBuilder(args).Build().Run();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,9 +105,6 @@ namespace PrometheusExporterEdenic
|
|||||||
app.UseDeveloperExceptionPage();
|
app.UseDeveloperExceptionPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
string EDENIC_API = Environment.GetEnvironmentVariable("EDENIC_API") ?? "placeholderapikey";
|
|
||||||
|
|
||||||
// Enable prometheus metrics
|
|
||||||
app.UseMetricServer();
|
app.UseMetricServer();
|
||||||
app.UseHttpMetrics();
|
app.UseHttpMetrics();
|
||||||
|
|
||||||
@ -53,10 +118,11 @@ namespace PrometheusExporterEdenic
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// Define custom metrics
|
|
||||||
var ph = Metrics.CreateGauge("edenic_ph", "Edenic ph");
|
var ph = Metrics.CreateGauge("edenic_ph", "Edenic ph");
|
||||||
var temperature = Metrics.CreateGauge("edenic_temperature", "Edenic temperature");
|
var temperature = Metrics.CreateGauge("edenic_temperature", "Edenic temperature");
|
||||||
var ec = Metrics.CreateGauge("edenic_ec", "Edenic EC");
|
var ec = Metrics.CreateGauge("edenic_ec", "Edenic EC");
|
||||||
|
|
||||||
|
|
||||||
Task.Run(async () =>
|
Task.Run(async () =>
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
@ -64,7 +130,7 @@ namespace PrometheusExporterEdenic
|
|||||||
ph.Set(1);
|
ph.Set(1);
|
||||||
temperature.Set(1);
|
temperature.Set(1);
|
||||||
ec.Set(1);
|
ec.Set(1);
|
||||||
await Task.Delay(1000);
|
await Task.Delay(15000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -6,12 +6,12 @@
|
|||||||
"compilationOptions": {},
|
"compilationOptions": {},
|
||||||
"targets": {
|
"targets": {
|
||||||
".NETCoreApp,Version=v8.0": {
|
".NETCoreApp,Version=v8.0": {
|
||||||
"DotNet.Docker/1.0.0": {
|
"EdenicExporter/1.0.0": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prometheus-net.AspNetCore.HealthChecks": "8.2.1"
|
"prometheus-net.AspNetCore.HealthChecks": "8.2.1"
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"DotNet.Docker.dll": {}
|
"EdenicExporter.dll": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Configuration/3.1.0": {
|
"Microsoft.Extensions.Configuration/3.1.0": {
|
||||||
@ -123,7 +123,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libraries": {
|
"libraries": {
|
||||||
"DotNet.Docker/1.0.0": {
|
"EdenicExporter/1.0.0": {
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"serviceable": false,
|
"serviceable": false,
|
||||||
"sha512": ""
|
"sha512": ""
|
BIN
EdenicExporter/bin/Debug/net8.0/EdenicExporter.dll
Normal file
BIN
EdenicExporter/bin/Debug/net8.0/EdenicExporter.dll
Normal file
Binary file not shown.
Binary file not shown.
@ -10,12 +10,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("DotNet.Docker")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("EdenicExporter")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+576ce11da69fc49bd84f117e4ef563dcddf8a397")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9c7d7928e96cee04d634ce311c4f039de4040cb2")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("DotNet.Docker")]
|
[assembly: System.Reflection.AssemblyProductAttribute("EdenicExporter")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("DotNet.Docker")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("EdenicExporter")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
@ -1 +1 @@
|
|||||||
b12bdd851226df3620379f067a2d97b7fa0c5ed9735ed922b09da25c217f93e3
|
8b3979b2670092c3f16be63c7eaee07a5d3524e94fa5f7a6b9b1b75cbc91ce4c
|
||||||
|
@ -7,7 +7,7 @@ build_property.InvariantGlobalization =
|
|||||||
build_property.PlatformNeutralAssembly =
|
build_property.PlatformNeutralAssembly =
|
||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = DotNet.Docker
|
build_property.RootNamespace = EdenicExporter
|
||||||
build_property.ProjectDir = /home/michal/develop/michal/edenic-exporter/EdenicExporter/
|
build_property.ProjectDir = /home/michal/develop/michal/edenic-exporter/EdenicExporter/
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
Binary file not shown.
@ -1,19 +1,19 @@
|
|||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/DotNet.Docker
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/DotNet.Docker.deps.json
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/DotNet.Docker.runtimeconfig.json
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/DotNet.Docker.dll
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/DotNet.Docker.pdb
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.GeneratedMSBuildEditorConfig.editorconfig
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfoInputs.cache
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfoInputs.cache
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfo.cs
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfo.cs
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.csproj.CoreCompileInputs.cache
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.csproj.CoreCompileInputs.cache
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.dll
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/refint/DotNet.Docker.dll
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.pdb
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.genruntimeconfig.cache
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.genruntimeconfig.cache
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/ref/DotNet.Docker.dll
|
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.csproj.AssemblyReference.cache
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.csproj.AssemblyReference.cache
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/Prometheus.NetStandard.dll
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/Prometheus.NetStandard.dll
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/Prometheus.AspNetCore.dll
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/Prometheus.AspNetCore.dll
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/Prometheus.AspNetCore.HealthChecks.dll
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/Prometheus.AspNetCore.HealthChecks.dll
|
||||||
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.csproj.CopyComplete
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.csproj.CopyComplete
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/EdenicExporter
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/EdenicExporter.deps.json
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/EdenicExporter.runtimeconfig.json
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/EdenicExporter.dll
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/bin/Debug/net8.0/EdenicExporter.pdb
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/EdenicExporter.dll
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/refint/EdenicExporter.dll
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/EdenicExporter.pdb
|
||||||
|
/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/Debug/net8.0/ref/EdenicExporter.dll
|
||||||
|
Binary file not shown.
BIN
EdenicExporter/obj/Debug/net8.0/EdenicExporter.dll
Normal file
BIN
EdenicExporter/obj/Debug/net8.0/EdenicExporter.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
EdenicExporter/obj/Debug/net8.0/ref/EdenicExporter.dll
Normal file
BIN
EdenicExporter/obj/Debug/net8.0/ref/EdenicExporter.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
EdenicExporter/obj/Debug/net8.0/refint/EdenicExporter.dll
Normal file
BIN
EdenicExporter/obj/Debug/net8.0/refint/EdenicExporter.dll
Normal file
Binary file not shown.
@ -8,7 +8,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
"projectUniqueName": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
||||||
"projectName": "DotNet.Docker",
|
"projectName": "EdenicExporter",
|
||||||
"projectPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
"projectPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
||||||
"packagesPath": "/home/michal/.nuget/packages/",
|
"packagesPath": "/home/michal/.nuget/packages/",
|
||||||
"outputPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/",
|
"outputPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/",
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/michal/.nuget/packages/</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/michal/.nuget/packages/</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/michal/.nuget/packages/</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/michal/.nuget/packages/</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.0</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.1</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="/home/michal/.nuget/packages/" />
|
<SourceRoot Include="/home/michal/.nuget/packages/" />
|
||||||
|
@ -8,10 +8,14 @@
|
|||||||
"Microsoft.Extensions.Configuration.Abstractions": "3.1.0"
|
"Microsoft.Extensions.Configuration.Abstractions": "3.1.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Configuration.Abstractions/6.0.0": {
|
"Microsoft.Extensions.Configuration.Abstractions/6.0.0": {
|
||||||
@ -20,10 +24,14 @@
|
|||||||
"Microsoft.Extensions.Primitives": "6.0.0"
|
"Microsoft.Extensions.Primitives": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": {}
|
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": {}
|
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Configuration.Binder/3.1.0": {
|
"Microsoft.Extensions.Configuration.Binder/3.1.0": {
|
||||||
@ -32,10 +40,14 @@
|
|||||||
"Microsoft.Extensions.Configuration": "3.1.0"
|
"Microsoft.Extensions.Configuration": "3.1.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.Binder.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.Binder.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.Binder.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Configuration.Binder.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.DependencyInjection/3.1.0": {
|
"Microsoft.Extensions.DependencyInjection/3.1.0": {
|
||||||
@ -44,19 +56,27 @@
|
|||||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0"
|
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.1.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.DependencyInjection.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
|
"Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"buildTransitive/netcoreapp3.1/_._": {}
|
"buildTransitive/netcoreapp3.1/_._": {}
|
||||||
@ -71,19 +91,27 @@
|
|||||||
"Microsoft.Extensions.Options": "6.0.0"
|
"Microsoft.Extensions.Options": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions/6.0.9": {
|
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions/6.0.9": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.FileProviders.Abstractions/6.0.0": {
|
"Microsoft.Extensions.FileProviders.Abstractions/6.0.0": {
|
||||||
@ -92,10 +120,14 @@
|
|||||||
"Microsoft.Extensions.Primitives": "6.0.0"
|
"Microsoft.Extensions.Primitives": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"buildTransitive/netcoreapp3.1/_._": {}
|
"buildTransitive/netcoreapp3.1/_._": {}
|
||||||
@ -109,10 +141,14 @@
|
|||||||
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0"
|
"Microsoft.Extensions.FileProviders.Abstractions": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll": {}
|
"lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll": {}
|
"lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Http/3.1.0": {
|
"Microsoft.Extensions.Http/3.1.0": {
|
||||||
@ -123,10 +159,14 @@
|
|||||||
"Microsoft.Extensions.Options": "3.1.0"
|
"Microsoft.Extensions.Options": "3.1.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Http.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Http.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Http.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Http.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Logging/3.1.0": {
|
"Microsoft.Extensions.Logging/3.1.0": {
|
||||||
@ -138,19 +178,27 @@
|
|||||||
"Microsoft.Extensions.Options": "3.1.0"
|
"Microsoft.Extensions.Options": "3.1.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Logging.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Logging.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netcoreapp3.1/Microsoft.Extensions.Logging.dll": {}
|
"lib/netcoreapp3.1/Microsoft.Extensions.Logging.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Logging.Abstractions/6.0.2": {
|
"Microsoft.Extensions.Logging.Abstractions/6.0.2": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"buildTransitive/netcoreapp3.1/_._": {}
|
"buildTransitive/netcoreapp3.1/_._": {}
|
||||||
@ -159,10 +207,14 @@
|
|||||||
"Microsoft.Extensions.ObjectPool/7.0.0": {
|
"Microsoft.Extensions.ObjectPool/7.0.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net7.0/Microsoft.Extensions.ObjectPool.dll": {}
|
"lib/net7.0/Microsoft.Extensions.ObjectPool.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net7.0/Microsoft.Extensions.ObjectPool.dll": {}
|
"lib/net7.0/Microsoft.Extensions.ObjectPool.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Options/6.0.0": {
|
"Microsoft.Extensions.Options/6.0.0": {
|
||||||
@ -172,10 +224,14 @@
|
|||||||
"Microsoft.Extensions.Primitives": "6.0.0"
|
"Microsoft.Extensions.Primitives": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {}
|
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {}
|
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Microsoft.Extensions.Primitives/6.0.0": {
|
"Microsoft.Extensions.Primitives/6.0.0": {
|
||||||
@ -184,10 +240,14 @@
|
|||||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {}
|
"lib/net6.0/Microsoft.Extensions.Primitives.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"buildTransitive/netcoreapp3.1/_._": {}
|
"buildTransitive/netcoreapp3.1/_._": {}
|
||||||
@ -200,10 +260,14 @@
|
|||||||
"Microsoft.Extensions.ObjectPool": "7.0.0"
|
"Microsoft.Extensions.ObjectPool": "7.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net7.0/Prometheus.NetStandard.dll": {}
|
"lib/net7.0/Prometheus.NetStandard.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net7.0/Prometheus.NetStandard.dll": {}
|
"lib/net7.0/Prometheus.NetStandard.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prometheus-net.AspNetCore/8.2.1": {
|
"prometheus-net.AspNetCore/8.2.1": {
|
||||||
@ -212,10 +276,14 @@
|
|||||||
"prometheus-net": "8.2.1"
|
"prometheus-net": "8.2.1"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Prometheus.AspNetCore.dll": {}
|
"lib/net6.0/Prometheus.AspNetCore.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Prometheus.AspNetCore.dll": {}
|
"lib/net6.0/Prometheus.AspNetCore.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"frameworkReferences": [
|
"frameworkReferences": [
|
||||||
"Microsoft.AspNetCore.App"
|
"Microsoft.AspNetCore.App"
|
||||||
@ -228,19 +296,27 @@
|
|||||||
"prometheus-net.AspNetCore": "8.2.1"
|
"prometheus-net.AspNetCore": "8.2.1"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/Prometheus.AspNetCore.HealthChecks.dll": {}
|
"lib/net6.0/Prometheus.AspNetCore.HealthChecks.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/Prometheus.AspNetCore.HealthChecks.dll": {}
|
"lib/net6.0/Prometheus.AspNetCore.HealthChecks.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {}
|
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {}
|
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"buildTransitive/netcoreapp3.1/_._": {}
|
"buildTransitive/netcoreapp3.1/_._": {}
|
||||||
@ -665,7 +741,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
"projectUniqueName": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
||||||
"projectName": "DotNet.Docker",
|
"projectName": "EdenicExporter",
|
||||||
"projectPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
"projectPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
||||||
"packagesPath": "/home/michal/.nuget/packages/",
|
"packagesPath": "/home/michal/.nuget/packages/",
|
||||||
"outputPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/",
|
"outputPath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "TQMtngfvdN+Ons0UnmICLSwgKvWwiIUZVe16RmvySwI0w/fjWM+TpZGgxl9GL7hr3muu9MxDW0KvY57HJ9dcLA==",
|
"dgSpecHash": "i5vI1uxSdQ3EytcmJTn74CzuZluLdQMKFWIzTNHu32sTKkwSbfV9bI4VlsfQ6JP5jqvxtz7hql92qGUmallnOQ==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
"projectFilePath": "/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
|
@ -1 +1 @@
|
|||||||
"restore":{"projectUniqueName":"/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj","projectName":"DotNet.Docker","projectPath":"/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj","outputPath":"/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"prometheus-net.AspNetCore.HealthChecks":{"target":"Package","version":"[8.2.1, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/lib/dotnet/sdk/8.0.108/PortableRuntimeIdentifierGraph.json"}}
|
"restore":{"projectUniqueName":"/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj","projectName":"EdenicExporter","projectPath":"/home/michal/develop/michal/edenic-exporter/EdenicExporter/DotNet.Docker.csproj","outputPath":"/home/michal/develop/michal/edenic-exporter/EdenicExporter/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"prometheus-net.AspNetCore.HealthChecks":{"target":"Package","version":"[8.2.1, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/lib/dotnet/sdk/8.0.108/PortableRuntimeIdentifierGraph.json"}}
|
@ -1 +1 @@
|
|||||||
17238577923198423
|
17239344048523465
|
Loading…
Reference in New Issue
Block a user