Warn on missing telegraf relations on the input side

Bug #1989016 reported by Andrea Ieri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Lint
Won't Fix
Low
Unassigned
charm-juju-lint
Won't Fix
Low
Unassigned

Bug Description

The telegraf charm supports relating to various charms on the input side beyond the simple juju-info interface:

requires:
  amqp:
    interface: rabbitmq
    scope: container
  apache:
    interface: apache-website
    scope: container
  elasticsearch:
    interface: elasticsearch
    scope: container
  exec:
    interface: telegraf-exec
    scope: container
  haproxy:
    interface: statistics
    scope: container
  influxdb-api:
    interface: influxdb-api
  juju-info:
    interface: juju-info
    scope: container
  memcached:
    interface: memcache
    scope: container
  mongodb:
    interface: mongodb
    scope: container
  mysql:
    interface: mysql-root
  postgresql:
    interface: pgsql
  redis:
    interface: redis
    scope: container
  sentry:
    interface: sentry-metrics
    scope: container

We should warn whenever those relations are missing as we're missing the chance of generating more useful metrics.

Note that at least in some case both the juju-info and the more specific relation need to be present. See the telegraf readme for details.

Tags: bseng-513
Changed in juju-lint:
status: New → Confirmed
importance: Undecided → Medium
Andrea Ieri (aieri)
description: updated
Eric Chen (eric-chen)
Changed in charm-juju-lint:
importance: Undecided → Medium
tags: added: bseng-513
Eric Chen (eric-chen)
Changed in charm-juju-lint:
importance: Medium → Low
Changed in juju-lint:
importance: Medium → Low
Revision history for this message
Eric Chen (eric-chen) wrote :

This charm is no longer being actively maintained

Changed in charm-juju-lint:
status: New → Won't Fix
Revision history for this message
Eric Chen (eric-chen) wrote :
Changed in juju-lint:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.