Upgrading healthwatch shows error unknown property "use_otel_for_metrics_collection"
search cancel

Upgrading healthwatch shows error unknown property "use_otel_for_metrics_collection"

book

Article ID: 423456

calendar_today

Updated On:

Products

VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

Errors when upgrading Healthwatch tile like shown below occurs when there is mismatch in versions between Healthwatch tile and Healthwatch-exporter tile.

Cause

The error message complains of the unknown properties found. 

{"errors":["Cannot generate manifest for product Healthwatch: Error in (( ..p-healthwatch2-pas-exporter.present? ? ..p-healthwatch2-pas-exporter.properties.use_otel_for_metrics_collection.value : .properties.use_otel_for_metrics_collection.value )): unknown property \"use_otel_for_metrics_collection\" (Product \"Healthwatch\" / Job: nil)"]

Resolution

Make sure Healthwatch exporter is same version as Healthwatch tile before upgrading Healthwatch tile.