Fwd: Artificer 1.0.0.Beta1 released, beta testers needed
by Brett Meyer
----- Forwarded Message -----
From: "Brett Meyer" <brmeyer(a)redhat.com>
To: "The Core" <thecore(a)redhat.com>
Sent: Tuesday, June 9, 2015 10:17:06 PM
Subject: Artificer 1.0.0.Beta1 released, beta testers needed
Artificer 1.0.0.Beta1 is finally out. If any of you would be willing to help as beta testers, I'd sincerely appreciate it! Contact me off list. Thanks!
9 years, 6 months
BTM agent relationship with Hawkular agent
by Gary Brown
Hi
On the team call just now, Heiko raised a question about whether the BTM agent could work with the Hawkular agent. So thought I would start this discussion thread to see what the potential options are.
I currently see two issues:
1) The BTM agent must be configured on the jvm command line as a "-javaagent" to install ByteMan for instrumentation purposes. This is instantiated before the JBoss modules (and therefore subsystems etc) are initialised.
2) The hawkular agent won't necessarily be installed in all monitored servers, and instead remotely monitor some. The BTM agent would need to be installed in all servers where business transactions are executing.
One type of integration that may be possible is in terms of delivering the captured business transaction information to the backend? i.e. the BTM agent locally reports it to the Hawkular agent as a relay?
Thoughts?
Regards
Gary
9 years, 6 months
resource config and operations
by John Mazzitelli
I am working in my own branch, but am about to introduce resource configuration and operations to the resource type metadata. This was in part due to the UI folks needing the hostname to show in the GUI.
I wanted to let people know what this looks like - speak now if you see problems.
The resourceType will now have as part of its attached metadata a list named "resourceConfiguration" which consists of config property types (today, there is only "name" associated with resource config property types, but you can envision other things like "dataType" (for boolean, integers, etc)).
There is also a list of operations (today, consists of only a name and optional "operationName").
The JSON for resourceType looks like this inside inventory (this is for the top level "WildFly Server" type):
"tenant": "28026b36-8fe4-4332-84c8-524e173a68bf",
"id": "WildFly Server",
"version": "0.1",
"properties":
{
"name": "WildFly Server",
"operations":
[
{
"name": "Reload Server",
"operationName": "reload"
}
],
"resourceConfiguration":
[
{
"name": "Hostname"
},
{
"name": "Max Heap"
},
{
"name": "Version"
}
]
}
A resource of this type would look like:
"tenant": "28026b36-8fe4-4332-84c8-524e173a68bf",
"environment": "test",
"feed": "mazztower",
"id": "[Local Host~/]",
"type": <<<what I showed above>>>,
"properties":
{
"name": "WildFly Server [Local Host] [mazztower]",
"resourceConfiguration":
[
{
"name": "Version",
"value": "8.2.0.Final"
},
{
"name": "Hostname",
"value": "mazztower"
},
{
"name": "Max Heap",
"value": "477626368"
}
]
}
9 years, 6 months
Re: [Hawkular-dev] Mocking HTTP(S) Server
by Martin Vecera
Hello Peter,
do you have an idea when did that happen? The site is up and running. We do not have any plans to shut it down or do any maintenance mode. It might be that the response took too long.
Nevertheless, there was a very good reason why I used this site in your unit tests. Every other mock/test site I used was allowed to use HTTP as a backup. So even if I asked for HTTPS, if I refused the certificate, the test passed. So make sure you update the test to check that this is not happening.
Regards,
Martin
P.S.: Please CC me, I am not subscribed to your list.
> Hi *,
>
> it happened today: http://perfcake.org/ - one of the sites we unit-test
> Pinger against is down and therefore the tests are failing.
>
> Can anybody recommend a solution for mocking an HTTP Server?
>
> http://wiremock.org/ is the first result on Google and I am going to
> have a look at it.
>
> Thanks,
>
> Peter
--
Martin Večeřa
Middleware QE Manager
External no. +420 532 294 112
Internal no. 8262112
IRC: mvecera #brno #jbossqa
Calendar: https://www.google.com/calendar/b/1/embed?src=mvecera@redhat.com&ctz=Euro...
9 years, 6 months
[Metrics] What should we do with requests to save data points without a timestamp
by Thomas Segismont
Hi everyone,
While doing some testing for Grafana/Metrics integration, I found that
if you don't supply a timestamp when you send data points to Metrics,
they all get stored with timesptamp=0. This not right.
In such situations, Influx saves the point with the server timestamp. We
could also reply with 400 Bad Request. My preference goes to the latter.
Any thoughts?
I'll file a JIRA when we agree on a solution.
Regards,
Thomas
9 years, 6 months
[GSoC] Hawkular Android Client: Weekly Report #2
by Artur Dryomov
Hi everyone,
This year I am working on the Hawkular Android application as part of the
Google Summer of Code 2015 program.
I’ve spent the last week on the application development and writing a
script which will allow me to populate a Hawkular instance with sample data.
The application itself [1] at this point can use a custom server URL. After
pressing a button you will see an OAuth dialog which will allow you to
login using your Hawkular credentials. This step will automatically
redirect you to the resource types screen. AeroGear did a great job with
the authorization process — seems like all necessary headers are set
without any additional cost from my side. Regarding the fun part — the
application got a fancy theme in red and orange colors based on the
official logo. The icon is there as well. You can take a look at some
screenshots [2].
With the help from various Hawkular modules source code and useful links
from Jiri Kremser I’ve created a gist with HTTPie [3] commands [4]. My goal
was to populate a server from the ground up — from tenants to metric data.
Unfortunately I’m having some issues with it.
⋅ First. I am able to create a tenant but if I try to create an environment
on it — the response gives me 403 Forbidden. At the same time creating an
environment for a tenant from "/inventory/tenant" is flawless. Maybe it is
somehow related to metrics-inventory communication. Inventory has a single
tenant, metrics can have multiple. I see no ability to set an active tenant
for the inventory using the API.
⋅ Second. Seems like I’m adding data to metrics the wrong way. It is
created without any issues, but I cannot see it from the query.
This week I would like work on those areas implementing rest of Inventory
screens for the application and fixing and expanding the script to get
something to display at the application :-) If someone has a real-world
example of multiple resources, metrics and metrics-related data — it will
be a great help.
Have a nice week!
Artur.
[1]: https://github.com/hawkular/android-client
[2]: https://github.com/hawkular/android-client/pull/5
[3]: http://httpie.org/
[4]: https://gist.github.com/ming13/e7ebab69028adaa7dea4
9 years, 6 months
Which logging categories can be hidden by default?
by Peter Palaga
Hi *,
I hope I am not the only one who finds that there is a lot of
uninteresting messages in the log which can be made hidden by default.
I propose to add the following lines to standalone xml files for both
dev and production profiles:
<logger category="org.apache.cassandra">
<level name="WARN"/>
</logger>
<logger category="org.jboss.as.ejb3">
<level name="WARN"/>
</logger>
<logger category="liquibase">
<level name="WARN"/>
</logger>
<logger category="org.ocpsoft.rewrite">
<level name="WARN"/>
</logger>
<logger category="com.datastax.driver">
<level name="WARN"/>
</logger>
Is this too much hiding or maybe somebody has even more candidates for
suppressing?
Thanks,
Peter
9 years, 6 months
Mocking HTTP Server
by Peter Palaga
Hi *,
it happened today: http://perfcake.org/ - one of the sites we unit-test
Pinger against is down and therefore the tests are failing.
Can anybody recommend a solution for mocking an HTTP Server?
http://wiremock.org/ is the first result on Google and I am going to
have a look at it.
Thanks,
Peter
9 years, 6 months