No data on Analytics dashboard
search cancel

No data on Analytics dashboard

book

Article ID: 401307

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

Portal analytics dashboard does not show any data.

The docker service ls shows that the Kafka container does not start or have the following error in the logs 

Kafka container logs extract.

[2025-05-30 02:18:05,029] INFO [KafkaApi-1] Closing connection due to error during produce request with correlation id 205757 from client id producer-1 with ack=0
Topic and partition to exceptions: metrics_file_names-2 -> org.apache.kafka.common.errors.NotLeaderOrFollowerException (kafka.server.KafkaApis)

Environment

All Supported API Developer Portal releases.

Resolution

Delete the kafka and zookeeper volumes and restart portal docker stack.

NOTE: Removing these 2 containers, does not lead to data loss.

---------------

1. Stop portal docker stack

# docker stack rm portal

2. Delete kafka and zookeeper volumes.

# docker volume rm portal_zk-volume
 
# docker volume rm portal_kafka-volume
 
3. Start portal docker stack. run the script from the installation directory.
 
# ./portal.sh 

Additional Information

Before you start with resolution steps, please take a snapshot of the Portal VM.