Skip to content

Conversation

@jodydonetti
Copy link

Description

FusionCache is an easy to use, fast and robust .NET hybrid cache with advanced resiliency features.

Since FusionCache natively supports OpenTelemetry (docs), I'm proposing adding it to the registry.

Pending Questions

Since FusionCache is a .NET library, it natively supports ActivitySource, Activity, Meter and Counter as a native bridge to OpenTelemetry: this way it does not require any custom package to work with it.

Because of this, in the YAML file I marked it as "native" and as the Nuget package I simply specified the main one.

Having said that, I also created a specific package to offer a more native experience for people wanting to explicitly use OpenTelemetry: this package offers a setup experience in line with the standard OTEL experience in .NET, like this:

services.AddOpenTelemetry()
  // SETUP TRACES
  .WithTracing(tracing => tracing
    .AddFusionCacheInstrumentation()
    .AddConsoleExporter()
  )
  // SETUP METRICS
  .WithMetrics(metrics => metrics
    .AddFusionCacheInstrumentation()
    .AddConsoleExporter()
  );

This is not strictly needed, but it's still nice to have.

So my question is: what should I do?

Meaning, one of:

  • keep the YAML file as-is, simply stating the native experience without the separate package?
  • create an additional YAML file for the separate package?
  • somehow list both in one YAMl file? (I don't know if it's possible to list multiple entries in the package element in the YAML file)

I'm adding the PR as draft to resolve this, please let me know.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant