Skip to content

Commit

Permalink
Merge pull request #35 from EventStore/kunaldhingra/db-736-other-plug…
Browse files Browse the repository at this point in the history
…ins-to-expose-the-required-telemetry

Add method to collect telemetry from MD5 plugin
  • Loading branch information
hayley-jean authored Apr 16, 2024
2 parents 27dc2ca + 1dcb8d3 commit c223654
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/EventStore.Plugins/MD5/IMD5Plugin.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
namespace EventStore.Plugins.MD5;
using System;
using System.Text.Json.Nodes;

namespace EventStore.Plugins.MD5;

public interface IMD5Plugin {
string Name { get; }
string Version { get; }

string CommandLineName { get; }

void CollectTelemetry(Action<string, JsonNode> reply);

/// <summary>
/// Creates an MD5 provider factory for the MD5 plugin
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/EventStore.Plugins/Subsystems/ISubsystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public interface ISubsystem {
string Name { get; }
IApplicationBuilder Configure(IApplicationBuilder builder);
IServiceCollection ConfigureServices(IServiceCollection services, IConfiguration configuration);
void CollectTelemetry(Action<string, JsonNode> collect);
void CollectTelemetry(Action<string, JsonNode> reply);
Task Start();
Task Stop();
}

0 comments on commit c223654

Please sign in to comment.