Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Jaeger c929899400 Retire repository
Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: I8aded54f1b9f3b79f3a4bf8f607d3695b92f528b
2019-12-18 19:39:39 +01:00
Swann Croiset 4d025aa0ab Fix Logger setting in sandboxes
A filter sandbox cannot modify the Logger field

Change-Id: Ie50bf2acb3d764504be398685c8e4e61c4e1c61b
Closes-bug: #1662879
2017-02-09 13:16:24 +01:00
Simon Pasquier 72fe1f64fe Send log_messages metric as bulk
Using bulk metrics for the log counters reduces largely the likelihood
of blocking the Heka pipeline. Instead of injecting (x services
* y levels) metric messages, the filter injects only one big message.

This changes also updates the configuration of the metric_collector
service to deserialize the bulk metric to support alarms on log
counters.

Change-Id: Icb71fd6faa4191795c0470ecc24aeafd25794f42
Closes-Bug: #1643280
2017-01-06 15:24:03 +01:00
Simon Pasquier dce9c7e23f Fix more metrics without hostname
This change fixes metrics that aren't associated to a particular
hostname.

Change-Id: I2acafb801add178d90b76a17b32922a5825c3820
2016-09-29 18:02:59 +02:00
Swann Croiset 6fda6983e3 Enhance the self-monitoring of Heka plugins
Since AFD and GSE filters use intensively the timer_event function it's
relevant to collect TimerEventAvgDuration and TimerEventSamples.

The memory used by decoders and filters is also collected.

Change-Id: Ib82eb57985a0eb2709ccd1eb5ec2e65e5810669e
2015-10-09 10:59:13 +02:00
Simon Pasquier 8f268f04ff Add support for bulk metric message
This change introduces a new type of Heka message called 'bulk_metric'.

A bulk metric message can be emitted by any filter plugin using the
add_to_metric() and inject_bulk_metric() function from the lma_utils
module:

  local ts = read_message('Timestamp')
  utils.add_to_metric('foo', 1, {tag1 = value1})
  utils.add_to_metric('bar', 2, {})
  utils.inject_bulk_metric(ts, 'node-1', 'custom_filter')

The structure of the message injected in the Heka pipeline will be:

  Timestamp: <ts>
  Severity: INFO
  Hostname: node-1
  Payload: >
    [{"name":"foo","value":1,"tags":{"tag1":"value1"}},
    {"name":"bar","value":2,"tags":[]}]
  Fields:
    - source: custom_filter
    - hostname: node-1

Eventually the bulk metric message is caught by the InfluxDB
accumulator filter and encoded using the InfluxDB line protocol.

Change-Id: I96986fd8287d65ae018c7636f9dd745dba2fc761
Implements: blueprint upgrade-influxdb-grafana
2015-08-06 09:34:55 +02:00
Guillaume Thouvenin becf4b5ebc Add the monitoring of Heka messages
This change adds information about the number of messages that are
processed by every decoder and filter of the LMA collector and also
the average time it takes to process these messages.

Change-Id: Iad122336fe8fcb6fa3f4d8ed666b276f6db70a43
2015-07-08 17:02:32 +02:00