This question is locked. New answers and comments are not allowed.
I am currently unable to get any metrics using the profiler service. I can connect, but nothing shows.
Is there an equivalent setting in the configuration for "Keep events for profiler" and "Keep metrics for profiler"?
They are both shown in your examples using the rlinq configuration... i just can't figure out how to set them in code.
var metadata =
new
FluentDataSource();
var configuration =
new
BackendConfiguration()
{
Backend = DataAccess.Configuration.DbType
};
configuration.Logging.LogEvents = LoggingLevel.All;
configuration.Logging.LogEventsToSysOut =
true
;
configuration.Logging.LogEventsToTrace =
true
;
configuration.Logging.StackTrace =
true
;
configuration.Logging.MetricStoreCapacity = 3600;
configuration.Logging.MetricStoreSnapshotInterval = 1000;
configuration.Logging.EventStoreCapacity = 10000;
_context =
new
OpenAccessContext(_connectionString, configuration, metadata);
Is there an equivalent setting in the configuration for "Keep events for profiler" and "Keep metrics for profiler"?
They are both shown in your examples using the rlinq configuration... i just can't figure out how to set them in code.