Tutorials#

Learn where to find and access contextualised monitoring dashboards, logs, and debugging tools for your deployments.

What you’ll learn#

By the end of this tutorial, you’ll have:

  • Followed the monitoring and logging links from a pipeline job and a merge request

  • Reached namespace-scoped monitoring and logging from Headlamp

  • Opened Kibana and searched the logs for a namespace

  • Opened Grafana and found the dashboards for a deployment

  • Downloaded logs and artefacts from a pipeline job

  • Found the deployment information for a running namespace

Time required: 30–45 minutes

Prerequisites:

  • A GitLab pipeline that has deployed to a Kubernetes namespace, so that it has produced links to follow

  • Network access to the monitoring and logging services for that datacentre — see Service URLs

Access Kibana for logs#

  1. Go to Kibana

  2. Click Continue as Guest for read-only access

  3. Navigate to Discover in the left pane

  4. Select your time range and add filters for your namespace

For full access (creating API keys, saving searches), raise a Kibana account request. See Set up Kibana access in the how-to guide for the full walkthrough.

Access Grafana for metrics#

  1. Go to Grafana

  2. Click Sign in with Azure AD

  3. Use your JIRA credentials: <jira-username>@<community.skao.int or assoc.skao.int>

  4. Browse existing dashboards or create your own

See Use Grafana dashboards in the how-to guide for browsing, creating, and sharing dashboards.

STFC Dashboards Browsing page

Browsing Grafana dashboards#

Useful dashboards#

CI/CD pipelines:

Namespace resources:

Workloads:

Usage analytics (Kibana):

Usage analytics (Headlamp):

Download pipeline artefacts#

Pipeline jobs include log artefacts you can download for offline analysis:

curl -L https://gitlab.com/ska-telescope/ska-ser-oci-daemon/-/jobs/9819118142/artifacts/download -o job.zip
mkdir -p artefacts && cd artefacts
unzip ../job.zip
ls -R

This downloads:

  • Kubernetes events — All events in the namespace

  • Pod descriptions — Output of kubectl describe for every pod

  • Pod logs — Logs from all pods

Pipeline job artefacts

Pipeline job artefacts structure#

View deployment information#

Pipeline output shows deployed images and Helm charts:

***Gathering information for namespace: ci-ska-tango-examples-7cabaa1f***
OCI images for pod databaseds-tangodb-tango-databaseds-0:
    artefact.skao.int/ska-tango-images-tango-db:11.0.2

Installed Helm charts:
   test:
      Chart: ska-tango-examples-test-parent-0.1.16
      App Version: 0.1.16
   Dependencies:
      * ska-tango-base @ 0.4.16 | 0.4.18 Available!
      * ska-tango-util @ 0.4.16 | 0.4.18 Available!

The output shows installed versions and flags when newer versions are available.

This information also appears in Headlamp’s namespace view:

Headlamp namespace release information

Helm release information in Headlamp#

Next steps#

  • Read How-to guides for detailed log filtering and Elasticsearch queries

  • Check Reference for the SKA Log Message Format, log search fields and service URLs

  • Explore How it works for Headlamp and Coder debugging tools

Was this page helpful?