Revision 834dc290
b/doc/design-monitoring-agent.rst | ||
---|---|---|
66 | 66 |
report. Built-in data collectors (as opposed to those implemented as |
67 | 67 |
plugins) should have "B" as the version number. |
68 | 68 |
|
69 |
``formatVersion``
|
|
69 |
``format_version``
|
|
70 | 70 |
The format of what is represented in the "data" field for each data |
71 | 71 |
collector might change over time. Every time this happens, the |
72 | 72 |
format_version should be changed, so that who reads the report knows |
... | ... | |
103 | 103 |
{ |
104 | 104 |
"name" : "TheCollectorIdentifier", |
105 | 105 |
"version" : "1.2", |
106 |
"formatVersion" : 1,
|
|
106 |
"format_version" : 1,
|
|
107 | 107 |
"timestamp" : 1351607182000000000, |
108 | 108 |
"category" : null, |
109 | 109 |
"kind" : 0, |
... | ... | |
112 | 112 |
{ |
113 | 113 |
"name" : "AnotherDataCollector", |
114 | 114 |
"version" : "B", |
115 |
"formatVersion" : 7,
|
|
115 |
"format_version" : 7,
|
|
116 | 116 |
"timestamp" : 1351609526123854000, |
117 | 117 |
"category" : "storage", |
118 | 118 |
"kind" : 1, |
b/src/Ganeti/DataCollectors/Drbd.hs | ||
---|---|---|
29 | 29 |
, arguments |
30 | 30 |
, dcName |
31 | 31 |
, dcVersion |
32 |
, dcFormatVersion |
|
32 | 33 |
) where |
33 | 34 |
|
34 | 35 |
|
Also available in: Unified diff