Skip to content

There are more than one CurrentProcessMonitor created by hosting #100

@kungasc

Description

@kungasc

And some of them are not properly set up:

var monitor = environment.HostExtensions.Get<CurrentProcessMonitor>();

var metrics = monitor.ObserveMetrics(10.Seconds()).First();

environment.Log.Info("Metrics: {Metrics}", metrics);

prints MemoryLimit without

.SetMemoryBytesProvider(() => context.Setup.Limits.MemoryBytes);

setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions