diff --git a/doc/design-monitoring-agent.rst b/doc/design-monitoring-agent.rst index 13702f53b21967a262782ab8cf63c6da91c51a50..5f40feaf44e34cd0c76492d4c0e9086e1ced9788 100644 --- a/doc/design-monitoring-agent.rst +++ b/doc/design-monitoring-agent.rst @@ -66,7 +66,7 @@ the data collectors: report. Built-in data collectors (as opposed to those implemented as plugins) should have "B" as the version number. -``formatVersion`` +``format_version`` The format of what is represented in the "data" field for each data collector might change over time. Every time this happens, the format_version should be changed, so that who reads the report knows @@ -103,7 +103,7 @@ Here follows a minimal example of a report:: { "name" : "TheCollectorIdentifier", "version" : "1.2", - "formatVersion" : 1, + "format_version" : 1, "timestamp" : 1351607182000000000, "category" : null, "kind" : 0, @@ -112,7 +112,7 @@ Here follows a minimal example of a report:: { "name" : "AnotherDataCollector", "version" : "B", - "formatVersion" : 7, + "format_version" : 7, "timestamp" : 1351609526123854000, "category" : "storage", "kind" : 1, diff --git a/src/Ganeti/DataCollectors/Drbd.hs b/src/Ganeti/DataCollectors/Drbd.hs index 92f53eef28bf7d62c17d50ab4c4f7be11c68adde..5f50793404ece84b6a9337875da9726958ce86aa 100644 --- a/src/Ganeti/DataCollectors/Drbd.hs +++ b/src/Ganeti/DataCollectors/Drbd.hs @@ -29,6 +29,7 @@ module Ganeti.DataCollectors.Drbd , arguments , dcName , dcVersion + , dcFormatVersion ) where