[Inventory] Metric registration question - bug(?)
by Heiko W.Rupp
Hey Jirka and others
I am (in my IoT playground) [1]
creating a resource and then associating a metric
via
https://github.com/hawkular/hawkular-client-ruby/blob/master/lib/inventor...
Now we have in Hawkular an experimental metric explorer.
That is not able to show the metric.
And not only in this case, but also for DataSources.
I wonder if we somewhere have a more general error that
prevents showing those?
Walk through with IRB and the RubyClient:
invclient =
Hawkular::Inventory::InventoryClient.new('http://localhost:8080/hawkular/inventory',creds)
invclient.list_feeds
=> ["73a5aad1-37e7-429a-834d-2aa324a079ba", "16617927", "esp16617927"]
rts = invclient.list_resource_types 'esp16617927'
=> [#<Hawkular::Inventory::ResourceType:0x007ff3a4652a08
@id="esp8266",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/rt;esp8266",
@name="esp8266", @properties=nil,
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/rt;esp8266",
"name"=>"esp8266", "id"=>"esp8266"}, @feed="esp16617927">]
rt = rts.first
=> [...]
res = invclient.list_resources_for_type 'esp16617927', 'esp8266', false
=> [#<Hawkular::Inventory::Resource:0x007ff3a467ca60
@id="mcu16617927",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/r;mcu16617927",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/rt;esp8266",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/r;mcu16617927",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/rt;esp8266",
"name"=>"esp8266", "id"=>"esp8266"}, "name"=>"mcu16617927",
"id"=>"mcu16617927"}, @feed="esp16617927", @name="mcu16617927">]
2.2.1 :015 > invclient.list_metrics_for_resource res.first
=> [#<Hawkular::Inventory::Metric:0x007ff3a46a2800
@id="16617927:40.176.91.120.5.0.0.125",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/m;16617927:40.176.91.120.5.0.0.125",
@name="16617927:40.176.91.120.5.0.0.125",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/m;16617927:40.176.91.120.5.0.0.125",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;esp16617927/mt;thermo",
"unit"=>"NONE", "type"=>"GAUGE", "collectionInterval"=>60,
"id"=>"thermo"}, "id"=>"16617927:40.176.91.120.5.0.0.125"},
@feed="esp16617927", @type="GAUGE", @unit="NONE",
@collection_interval=nil>]
----
Now for platform stuff
res = invclient.list_resources_for_feed
"73a5aad1-37e7-429a-834d-2aa324a079ba"
r = res.first
=> #<Hawkular::Inventory::Resource:0x007ff3a59f2b30
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Operating%20System",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Operating%20System",
"name"=>"Operating System", "id"=>"Operating System"},
"name"=>"73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem">
invclient.list_metrics_for_resource r
=> []
res = invclient.list_child_resources r, true
=> [#<Hawkular::Inventory::Resource:0x007ff3a6f02e08
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=hwr",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=hwr",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=hwr",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
"name"=>"File Store", "id"=>"File Store"}, "name"=>"File Store [hwr]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=hwr"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=hwr">,
#<Hawkular::Inventory::Resource:0x007ff3a6f02908
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=MobileBackups",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=MobileBackups",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=MobileBackups",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
"name"=>"File Store", "id"=>"File Store"}, "name"=>"File Store
[MobileBackups]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=MobileBackups"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=MobileBackups">,
#<Hawkular::Inventory::Resource:0x007ff3a6f02408
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=Macintosh
HD (/)",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=Macintosh%20HD%20(%2F)",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=Macintosh%20HD%20(%2F)",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
"name"=>"File Store", "id"=>"File Store"}, "name"=>"File Store
[Macintosh HD (/)]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=Macintosh
HD (/)"}, @feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=Macintosh%20HD%20(%2F)">,
#<Hawkular::Inventory::Resource:0x007ff3a6f01f08
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/MEMORY=Memory",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FMEMORY=Memory",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Memory",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FMEMORY=Memory",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Memory",
"name"=>"Memory", "id"=>"Memory"}, "name"=>"Memory",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/MEMORY=Memory"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FMEMORY=Memory">,
#<Hawkular::Inventory::Resource:0x007ff3a6f01a08
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=1",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=1",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=1",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
"name"=>"Processor", "id"=>"Processor"}, "name"=>"Processor [1]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=1"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=1">,
#<Hawkular::Inventory::Resource:0x007ff3a6f01508
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=0",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=0",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=0",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
"name"=>"Processor", "id"=>"Processor"}, "name"=>"Processor [0]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=0"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=0">,
#<Hawkular::Inventory::Resource:0x007ff3a6f01008
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=3",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=3",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=3",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
"name"=>"Processor", "id"=>"Processor"}, "name"=>"Processor [3]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=3"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=3">,
#<Hawkular::Inventory::Resource:0x007ff3a6f00b08
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=2",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=2",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=2",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;Processor",
"name"=>"Processor", "id"=>"Processor"}, "name"=>"Processor [2]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/PROCESSOR=2"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FPROCESSOR=2">]
> fs = res.first
=> #<Hawkular::Inventory::Resource:0x007ff3a6f02e08
@id="platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=hwr",
@path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=hwr",
@properties={},
@type_path="/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
@_hash={"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/r;platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=hwr",
"type"=>{"path"=>"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;73a5aad1-37e7-429a-834d-2aa324a079ba/rt;File%20Store",
"name"=>"File Store", "id"=>"File Store"}, "name"=>"File Store [hwr]",
"id"=>"platform~/OPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem/FILE_STORE=hwr"},
@feed="73a5aad1-37e7-429a-834d-2aa324a079ba",
@name="platform~%2FOPERATING_SYSTEM=73a5aad1-37e7-429a-834d-2aa324a079ba_OperatingSystem%2FFILE_STORE=hwr">
2.2.1 :026 > invclient.list_metrics_for_resource fs
=> []
And for the Filestore 'hwr' I see metric data on the level of the
Appserver->Platform tab
[1] https://github.com/pilhuhn/hawkular-mqtt-bridge
8 years, 9 months
Performance Tests of Different Hawkular Inventory Backends
by Lukas Krejci
Hi all,
lately I've become really dissatisfied with how Inventory performed and
semi-publicly blamed Titan for that (because that was what looked like
the cause of all world's problems in my then uneducated eyes ;) ).
I decided to do some performance comparisons. Because we didn't want
Hawkular to ship with 2 different NoSQL backends (C* for metrics and
whatever else for Inventory), I chose an RDBMS as a good conservative
alternative (because people, IMHO, are still more comfortable dealing
with an RDBMS than with NoSQL databases).
Currently, inventory is written against the graph DSL called Gremlin
(from Tinkerpop 2.6.0). Fortunately, there exists a "toy" SQL backend
for Tinkerpop 2 that we could try and see if it performed any good
(which would frankly be surprising, given the fact it stores the graph
data rather naively). With some luck, no code would have to be changed
on our side to see the results.
We had no such luck.
Making the inventory run with the SQL backend was literally a day worth
of work (if that) and the first preliminary tests showed that Inventory
with Postgres backend performed much much better that Titan with
embedded Cassandra. But the tests also uncovered some problems with the
way Inventory code handled transactions.
Fast forward 3 weeks and see large parts of Hawkular inventory updated
to correctly handle transactions. Now a single call to Inventory really
results in at most 1 transaction in the backend.
So, I went and re-ran the tests. Also, I refrained from using embedded
Cassandra and instead use a locally running 2-node cluster.
The results caught me by surprise. Not so much that the naive SQL
backend didn't perform particularly well, but the difference between the
performance of Titan before and after the transaction handling fixes.
To not keep you waiting any longer for the results: Titan + C* is the
winner.
For nice charts that include comparison to the old misbehaving impl, see:
https://dashboards.ly/ua-tALzrY9rEoRBXvsLXbZJHT
Cheers,
--
Lukas Krejci
8 years, 9 months
gsoc 2016
by Alexandr Egorov
Hello all, i'd like to work with project as gsoc student and improve
android client, how much time i be able to work on project? What i need
firstly to begin to engage idea (fix bugs or write new module to existing
projects)? Have project any student info for better understanding how to
get started as gsoc student with project?
8 years, 9 months
What does that mean (console build)?
by Heiko W.Rupp
Hey,
was trying to re-activate the exp-explorer branch on Hawkular for some
pet project.
Rebased onto current master and got this on a a mvn -Pdev clean install
in console
module.
Any idea what this error wants to tell me?
[INFO] [22:48:22] Starting 'copy-vendor-fonts'...
[INFO] [22:48:22] git log -n 1 --pretty='%h' (log : false)
[INFO] [22:48:22] Finished 'git-sha' after 288 ms
[ERROR]
/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29
[ERROR] throw new Error(errorMessage);
[ERROR] ^
[ERROR]
[ERROR] Error: Could not find the following rules specified in the
configuration:
[ERROR] license-header
[ERROR] at Object.loadRules
(/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)
[ERROR] at Linter.lint
(/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)
[ERROR] at
/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/index.js:96:34
[ERROR] at respond
(/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/index.js:73:7)
[ERROR] at respond
(/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:140:7)
[ERROR] at
/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:124:17
[ERROR] at
/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:77:13
[ERROR] at doNTCallback0 (node.js:419:9)
[ERROR] at process._tickCallback (node.js:348:13)
[INFO]
------------------------------------------------------------------------
8 years, 9 months
Cancelled: Discussion, Planning, and status on Testing Openshift & Hawk-Metrics Integration for Openshift 3.1
by Michael Foley
A single instance of the following meeting has been cancelled:
Subject: Discussion, Planning, and status on Testing Openshift & Hawk-Metrics Integration for Openshift 3.1
Organizer: "Michael Foley" <mfoley(a)redhat.com>
Location: Bluejeans http://www.bluejeans.com/mfoley51
Time: Wednesday, February 17, 2016, 3:00:00 PM - 3:30:00 PM GMT -05:00 US/Canada Eastern
Required: pruan(a)redhat.com; mmahoney(a)redhat.com; vnguyen(a)redhat.com; snegrea(a)redhat.com; jsanda(a)redhat.com; mwringe(a)redhat.com
Optional: jon-qa-list(a)redhat.com; jboss-on-team(a)redhat.com; hawkular-dev(a)lists.jboss.org
*~*~*~*~*~*~*~*~*~*
Hi,
Let's have a discussion and planning session on testing Openshift & Hawkular Integration!
Let's use this etherpad to coordinate the discussion -->> http://pad.engineering.redhat.com/Management-nextAndOpenshiftTestPlanning
5 Point Plan for Openshift 3.1 GA
* Unit tests .... owned by Hawk-Metrics developers
* Integration tests ... owned by Hawk-Metrics developers and Hawk-Metrics QE
* Performance CI on Hawk-Metrics (this one is actually new and was not discussed on Wednesday , but I now see it makes sense)
* Functional Integration tests on Hawk-Metrics latest + Openshift Origin latest
*
Funtional/UI .... Cucumber/Ruby tests ...owned by Openshift QE * Functional/Rest ... Cucumber/Ruby tests ... owned by Openshift QE
* Performance & Scalability .... owned by Openshift QE
Regards,
Michael Foley
QE Supervisor, Middleware BU
8 years, 9 months
Increasing heap size
by Gary Brown
Does anyone have any issue with the heap size being increased to: -Xms256m -Xmx2048m
When Elasticsearch has a reasonable amount of data it needs more memory.
Next question is how best to modify this in standalone.conf from a feature pack - any suggestions appreciated. My only thought was extract from wildfly, modify and then store the modified version in btm feature pack - so assumes alignment of wildfly version with hawkular.
Regards
Gary
8 years, 9 months
Move ptrans into its own repo
by Heiko W.Rupp
Hey,
I think it could make sense to move ptrans from under the metrics repo
into its own repo for further improvements.
Wdyt?
8 years, 9 months