Registering an analytics service
Configure at least one analytics service in your API Connect on-premises cloud. The analytics service is always associated with a gateway service, from which it collects API event data.
Before you begin
About this task
One of the following roles is required to register and manage analytics services:
- Administrator
- Topology Administrator
- Owner
- A custom role with the
Topology:Manage
permission
When you register the analytics service, you must select from one of three
inter-subsystem communication methods. Before you decide which method to use, familiarize yourself
with the difference between external
and in-cluster
communication:
In-cluster or external communication between subsystems. If you are an OVA user, or are in
doubt as to what communication method to use, then use the default external
setting.
- Management to analytics. The management service communicates with the analytics subsystem to
query for analytics data to present in the UI dashboards. This flow is known as
analytics queries
. - Gateway to analytics. The gateway sends API event data to the analytics service. This flow is
known as
analytics ingestion
.
- Use
external
communication for both ingestion and queries - This option is the default, and is what is used for analytics services that are upgraded from a
pre-10.0.5.3 release. For OVA deployments, or if your analytics subsystem is in a different
environment then
external
is the only option that you can use. Both the gateway and the management service communicate with the analytics service by using the external endpoint, which is a Kubernetesingress
or OpenShiftroute
depending on your platform. - Use
in-cluster
communication for both ingestion and queries - You can select
in-cluster
if you have a Kubernetes or OpenShift deployment where all subsystems are within the same cluster. When this option is selected, the management, gateway, and analytics subsystems communicate with each other through internal service endpoints rather than externally accessibleingresses
(Kubernetes) orroutes
(OpenShift). - Use
in-cluster
for ingestion andexternal
for queries, or vice versa - You can select this option if you have a
Kubernetes or OpenShift deployment and you have some of your subsystems installed in the same
cluster. When this option is selected, you can use different communication methods for the different
analytics communication flows. For example, the management to analytics communication can use
in-cluster
, and the gateway to analytics can useexternal
. You might choose this configuration if your gateway is in a different cluster to the rest of your subsystems.
Procedure
Complete the following steps to configure the analytics services for your cloud:
Field | Description |
---|---|
Title | Enter a descriptive title for the analytics service. |
Name | This field is auto-populated by the system and used as the internal field name. |
Summary | Enter a brief description. |
Service endpoint configuration: Communication method. | Select your communication method, for more information on the options see, Communication types. If your API Connect deployment is OVA then
you must select the first option: Use external communication for both ingestion and
queries. |
Service endpoint configuration: External analytics
endpoint. |
Enter the fully qualified domain name for the analytics ingestion endpoint that you defined
during installation. To determine the endpoint, run the following command:
Use is set as the
communication type. |
Service endpoint configuration: TLS client profile for
external analytics endpoint. |
Select the TLS Client Profile to use for management to analytics
subsystem communication. The Client Profile applies to the endpoint that you specified in the
previous row. The default is Analytics Ingestion TLS client profile. This field is disabled
if |
Service endpoint configuration: In-cluster
analytics endpoint. |
Enter the fully qualified domain name for the analytics ingestion service endpoint. The
format of the service endpoint is where:
external communication for both ingestion and
queries is set as the communication
type. |
Service endpoint configuration: TLS client profile for
in-cluster endpoint. |
Select the TLS Client Profile to use for management to analytics
subsystem communication. The Client Profile applies to the Endpoint that you specified in the
previous row. The default is Analytics Ingestion TLS client profile. This field is disabled
if Use |
Service endpoint configuration: Use in-cluster
endpoint for analytics queries. |
If you want the management subsystem to use the in-cluster service
endpoint to communicate with the analytics subsystem, then select this option. If this option is not
selected, then the management subsystem uses the external endpoint. Selection of
external or in-cluster communication between the gateway and
analytics subsystem is done when the gateway is associated with the analytics service, see Associating an analytics service with a gateway service.This setting is enabled when |
Results
What to do next
- Set preferred retention and rollovers settings for the new analytics service: Configuring data retention and index rollover time periods.
- Associate the analytics service with one or more gateway services. For more information, see Associating an analytics service with a gateway service.