Show / Hide Table of Contents

    Phobos.Monitoring.PCF

    Phobos ships with monitoring support for Pivotal's Cloud Foundry (PCF) platform out of the box, built using Petabridge's custom-rolled Petabridge.Monitoring.PCF driver, which targets the Metrics Forwarder built into PCF.

    This is designed to make it both easy and convenient for Akka.NET developers to get up and running on Pivotal Cloud Foundry's enterprise cloud platform without having to setup additional third party monitoring services.

    You can install and use this package by selecting installing the Phobos.Monitoring.PCF NuGet package from your organization's Phobos NuGet feed.

    NOTE

    In order to use any of the Phobos integrations, you will need to first configure your akka.actor.provider setting to use one of the ActorRefProvider implementations provided by the Phobos.Actor.* NuGet packages. Click here for details.

    Configuration

    The Phobos.Monitoring.PCF driver doesn't take any external configuration via HOCON. All you need to do to use it is specify the provider in your ActorSystem's HOCON configuration in order to activate it, like so:

    phobos.monitoring.provider-type = pcf
    

    From there, the PCF driver will automatically load all of its relevant connection information from the VCAP_SERVICES environment variable supplied by PCF itself. There is no further action required on your part.

    N.B. In the event that you start up your application with Phobos.Monitoring.PCF enabled and you're not running inside PCF, the driver will simply no-op itself and won't throw any exceptions or log errors of any kind. This is designed to make it easy for Phobos users to test their applications locally via Visual Studio or the dotnet CLI without

    Back to top Copyright © 2015-2018 Petabridge®