GraphiteSettings Class

Summary

Graphite settings.
Assembly
Cake.Graphite.dll
Namespace
Cake.Graphite
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GraphiteSettings"] class Type type-node

Syntax

public class GraphiteSettings

Constructors

Name Summary
GraphiteSettings(string, ushort, bool, int, bool) Initializes a new instance of the GraphiteSettings class.

Properties

Name Value Summary
BatchSize int
Gets or sets the graphite client batch size.
Host string
Gets the host metrics are sent to.
HttpApiPort ushort
Gets or sets the graphite client http api port.
Prefix string
Gets or sets the graphite client metrics prefix (usually used for api key for hosted services like HostedGraphite).
ThrowExceptions bool
Gets or sets the option to whether Cake.Graphite should rethrow the exception or not
UseSsl bool
Gets or sets the graphite client option to use ssl.

Extension Methods

Name Value Summary
Dump<GraphiteSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GraphiteSettings>(GraphiteSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GraphiteSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GraphiteSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GraphiteSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GraphiteSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin