NewEgressTLSConfig provides a convenient means for creating a *tls.Config which uses the CA, cert, and key for the egress endpoint.
NewEnvelopeStreamConnector creates a new EnvelopeStreamConnector.
NewIngressClient creates a v2 loggregator client.
NewIngressTLSConfig provides a convenient means for creating a *tls.Config which uses the CA, cert, and key for the ingress endpoint.
NewOneToOneEnvelopeBatch initializes a new one to one diode for envelope batches of a given size and alerter.
No description provided by the author
WithAddr allows for the configuration of the loggregator v2 address.
WithAppInfo configures the meta data associated with emitted data.
WithBatchFlushInterval allows for the configuration of the maximum time to wait before sending a batch of messages.
WithBatchMaxSize allows for the configuration of the number of messages to collect before emitting them into loggregator.
WithContext configures the context that manages the lifecycle for the gRPC connection.
WithCounterAppInfo configures an envelope with both the app ID and index.
WithCounterSourceInfo configures an envelope with both the app ID and source ID.
WithDelta is an option that sets the delta for a counter.
No description provided by the author
WithEnvelopeStreamBuffer enables the EnvelopeStream to read more quickly from the stream.
WithEnvelopeStreamConnectorDialOptions allows for configuration of grpc dial options.
WithEnvelopeStreamLogger allows for the configuration of a logger.
WithEnvelopeTag adds a tag to the envelope.
WithEnvelopeTags adds tag information that can be text, integer, or decimal to the envelope.
WithEventSourceInfo configures an envelope with both the source and instance IDs.
WithGaugeAppInfo configures an envelope with both the app ID and index.
WithGaugeSourceInfo configures an envelope with both the source ID and instance ID.
WithGaugeValue adds a gauge information.
WithLogger allows for the configuration of a logger.
WithRLPGatewayClientLogger returns a RLPGatewayClientOption to configure the logger of the RLPGatewayClient.
WithRLPGatewayErrChan returns a RLPGatewayClientOption to configure an error channel to communicate errors when the client exceeds max retries.
WithRLPGatewayClientLogger returns a RLPGatewayClientOption to configure the HTTP client.
WithRLPGatewayMaxRetries returns a RLPGatewayClientOption to configure how many times the client will attempt to connect to the RLP gateway before giving up.
WithSourceInfo configures the meta data associated with emitted data.
WithStdout sets the output type to stdout.
WithTag allows for the configuration of arbitrary string value metadata which will be included in all data sent to Loggregator.
WithTimerSourceInfo configures an envelope with both the source and instance IDs.
WithTotal is an option that sets the total for a counter.