Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
linenumberstrue
{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "Collectd Mapping Schema",
	"description": "A mapping from collectd meters and events to *other* meters and events",
	"type": "object",
	"properties": {
		"resource_id": {
			"description": "Mappings from collectd resource_id to other framework resource_id",
			"type": "object",
			"items": {
				"type": "array",
				"items": {
					"collectd_resource_id": "string",
					"new_resource_id": "string"
				}
			}
		},
		"meters": {
			"description": "Mappings from collectd meters to other framework meters",
			"type": "objectarray",
			"items": {
				"type": "array",
				"items": {
					"collectd_meter_strings": "string",
					"new_meter": "string",
					"collectd_unit": "string",
					"new_meter_unit": "string",
					"unit_conversion": "string"
				}
			}
		},
		"events": {
			"description": "Mappings from collectd events to other framework events",
			"type": "object",
			"items": {
				"type": "array",
				"items": {
					"collectd_event": "string",
					"new_event": "string",
					"collectd_severity": "string",
					"new_severity": "string"
				}
			}
		},
		"Fields_to_meter_map": {
			"description": "Mappings of meters to Fields",
			"type": "object",
			"items": {
				"type": "object",
				"items": {
					"Field": "string",
					"new_meters": {
					    "type": "array",
						"items": {
							"meter_name": "string"
						}
					}
				}
			}
		}
	}
}

 

References

http://docs.openstack.org/admin-guide/telemetry-data-collection.html

...