Receive logs, metrics, and traces from OpenTelemetry clients over the OpenTelemetry Protocol (OTLP/gRPC).
Add new OpenTelemetry connector
To add a new connector to an AxoRouter host, complete the following steps:
-
Select Connectors > Create new rule. (Alternatively, you can select Add Connector > Create a connector rule on the Connectors page of an AxoRouter host.)
-
Select OpenTelemetry.
-
Configure the connector rule.
-
Enter a name for the connector rule into the Rule Name field.
-
(Optional) Add labels to the connector rule. You will be able to use these labels in Flow Processing steps, for example, in the Query field of Select Messages steps.
-
Set the Router Selector for the connector rule. The selector determines which AxoRouter instances will have a connector based on this connector rule.
- If you leave the Router Selector field empty, the rule will match every AxoRouter instance.
- To select only a specific AxoRouter instance, set the
name
field with the name of the instance as selector. - If you set multiple fields in the selector, the connector rule will apply only to AxoRouter instances that match all elements of the selector. (There in an AND relationship between the fields.)
-
(Optional) Enter a Suffix for the connector rule. This suffix will be used in the name of the connector instances created on the AxoRouter hosts. For example, if the name of a matching AxoRouter instance is “my-axorouter”, and the suffix of the rule is “otlp-rule”, the connector created for the AxoRouter will be named “my-axorouter-otlp-rule”.
If the Suffix field is empty, the name of the connector rule is used instead.
-
(Optional) Enter a description for the rule.
-
-
If needed, configure the port number where you want to receive data.
-
Select Create.
Axoflow automatically creates connectors on the AxoRouter hosts that match the Router Selector.
Make sure to enable the ports you’ve configured in the connector on the firewall of the AxoRouter host, and on other firewalls between the AxoRouter host and your data sources.
Labels
label | value |
---|---|
connector.type | otlp |
connector.name | The Name of the connector |
connector.port | The port number where the connector receives data |