title: How to bind c# dotnet core 3.1 microservice stream to turbine server stream
body: <p>I have a turbine server running on openshift 3 and deployed a donet core 3.1 c# microservice using steeltoe 3.0.2 circuit breaker libraries. I can monitor the microservice stream on hystrix dashboard through service stream url (/hystrix/hystrix.stream). What I want to do is to register the microservice hystrix event stream to the turbine server event stream. Does anyone know how to do this? any reference link will be a great help also.</p>
  <p><strong>Update: project references and setup files configuration</strong></p>
  <p>myproject.csproj:</p>
  <pre><code>&lt;ItemGroup&gt;
    &lt;PackageReference Include=&quot;Steeltoe.CircuitBreaker.Hystrix.MetricsEventsCore&quot; Version=&quot;3.0.2&quot; /&gt;
    &lt;PackageReference Include=&quot;Steeltoe.CircuitBreaker.HystrixCore&quot; Version=&quot;3.0.2&quot; /&gt;
  &lt;ItemGroup&gt;
  </code></pre>
  <p>startup.cs: ConfigureServices section</p>
  <pre><code>services.AddMvc(options =&gt; options.EnableEndpointRouting = false);
  services.AddHystrixCommand&lt;MyCircuitBreakerCommand&gt;(&quot;MyCircuitBreakerGroup&quot;, Configuration);
  services.AddHystrixMetricsStream(Configuration);
  </code></pre>
  <p>startup.cs -&gt; Configure section</p>
  <pre><code>app.UseHystrixRequestContext();
  app.UseHystrixMetricsStream();
  app.UseMvc();
  </code></pre>
  <p>I haven't modified program.cs or any .json setting file either.</p>
  <p>Recently tried to access these microservice resources: /hystrix/config.stream, /hystrix/request.stream and /hystrix/utilization.stream, but get this internal server error:</p>
  <blockquote>
  <p>Connection id &quot;0HM90GL5F64RK&quot;, Request id &quot;0HM90GL5F64RK:00000003&quot;: An unhandled exception was thrown by the application.
  System.InvalidOperationException: Unable to resolve service for type 'Steeltoe.CircuitBreaker.Hystrix.Config.HystrixConfigurationStream' while attempting to activate 'Steeltoe.CircuitBreaker.Hystrix.MetricsEvents.Controllers.HystrixConfigStreamController'.
  at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)
  at lambda_method(Closure , IServiceProvider , Object[] )
  at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.&lt;&gt;c__DisplayClass4_0.b__0(ControllerContext controllerContext)
  at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.&lt;&gt;c__DisplayClass5_0.g__CreateController|0(ControllerContext controllerContext)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
  --- End of stack trace from previous location where exception was thrown ---
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
  --- End of stack trace from previous location where exception was thrown ---
  at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
  at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
  at Steeltoe.CircuitBreaker.Hystrix.HystrixRequestContextMiddleware.Invoke(HttpContext context)
  at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
  fail: Microsoft.AspNetCore.Server.Kestrel[13]</p>
  </blockquote>