This creates a self-signed cert.
openssl req \
-x509 -nodes -days 365 \
-newkey rsa:2048 -keyout mycert.pem -out mycert.pem
This creates a self-signed cert.
openssl req \
-x509 -nodes -days 365 \
-newkey rsa:2048 -keyout mycert.pem -out mycert.pem
Various HTTP states along the pipline are grouped into HANA_STATUS_*
codes, which are defined in checks.h. Then health_adjust()
is called with that status code, which ends up calling __health_adjust()
if the observe config parameter is enabled.
Example from proxy_http.c:
/* Adjust server's health based on status code. Note: status codes 501
* and 505 are triggered on demand by client request, so we must not
* count them as server failures.
*/
if (objt_server(s->target)) {
def read_absolute(conn, metric_name, start_time, end_time): | |
""" | |
:type conn: pyKairosDB.KairosDBConnection | |
:param conn: The connection to KairosDB | |
:type metric_name: string | |
:param metric_name: The name of the metric to query (graphite does one at a time, though KairosDB can do more) | |
:type start_time: float |
project(dhewm3) | |
cmake_minimum_required(VERSION 2.6) | |
# TODO | |
# osx: place game .dylib's in the bundle (next to the binary) | |
# osx: -weak_framework ? | |
# maybe add these as options: | |
# TARGET_MONO |