Skip to content

Commit

Permalink
Improve yagna metrics accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
prawilny committed Sep 6, 2024
1 parent 37249f0 commit ed69192
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Golem.Package/Args.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class BuildArgs
{
[Option('t', "target", Default = "package", Required = false, HelpText = "Directory where binaries will be generated relative to working dir")]
public required string Target { get; set; }
[Option('y', "yagna-version", Default = "pre-rel-v0.16.0-preview.ai.29", Required = false, HelpText = "Yagna version github tag")]
[Option('y', "yagna-version", Default = "pre-rel-v0.16.0-preview.ai.42", Required = false, HelpText = "Yagna version github tag")]
public required string GolemVersion { get; set; }
[Option('r', "runtime-version", Default = "v0.2.5", Required = false, HelpText = "Runtime version github tag")]
public required string RuntimeVersion { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion Golem.Tools/GolemPackageBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Golem.Tools
{
public class PackageBuilder
{
public static string CURRENT_GOLEM_VERSION = "pre-rel-v0.16.0-preview.ai.29";
public static string CURRENT_GOLEM_VERSION = "pre-rel-v0.16.0-preview.ai.42";
public static string CURRENT_RUNTIME_VERSION = "v0.2.5";

internal static string InitTestDirectory(string name, bool cleanupData = true)
Expand Down
2 changes: 1 addition & 1 deletion Golem/Yagna/YagnaService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public async Task Run(Func<int, string, Task> exitHandler, CancellationToken can
environment = Options.YagnaApiUrl != null ? environment.WithYagnaApiUrl(Options.YagnaApiUrl) : environment;
environment = Options.PrivateKey != null ? environment.WithPrivateKey(Options.PrivateKey) : environment;
environment = Options.AppKey != null ? environment.WithAppKey(Options.AppKey) : environment;
environment = environment.WithMetricsGroup("GamerHash");
environment = environment.WithMetricsGroup("GamerHash." + Options.Network.ToString());
environment = environment.WithYaUseHttpsDnsResolver();

var args = $"service run {debugFlag}".Split();
Expand Down
2 changes: 1 addition & 1 deletion MockGUI/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dotnet run --project Golem.Package -- download --target modules --version pre-re
In case of building artifacts locally you can specify `yagna` and `runtimes` versions:

```sh
dotnet run --project Golem.Package -- build --target modules --yagna-version pre-rel-v0.16.0-preview.ai.29 --runtime-version v0.2.5
dotnet run --project Golem.Package -- build --target modules --yagna-version pre-rel-v0.16.0-preview.ai.42 --runtime-version v0.2.5
```

## Running
Expand Down

0 comments on commit ed69192

Please sign in to comment.