mirror of
https://github.com/hanzoai/o11y.git
synced 2026-10-15 12:58:33 +00:00
Verified against ghcr.io/hanzoai/datastore:26.6.1.1, the image these files run:
config /etc/datastore-server, data /var/lib/datastore, config root <datastore>,
client /usr/bin/datastore-client, and an entrypoint that reads DATASTORE_* and
nothing else. The mounts pointed at /etc/clickhouse-server and
/var/lib/clickhouse, which the image does not have, and passed CLICKHOUSE_* the
entrypoint ignores.
.devenv bound ${PWD}/../../../deploy/common/clickhouse/custom-function.xml; that
directory is deploy/common/datastore.
Service, hostname, volume, anchor and swarm-config names follow, and the cluster
XML replicas match the compose hostnames again.
The eight built-in integrations credited [email protected] and o11y.io, which
does not resolve; ours is o11y.hanzo.ai. The datastore integration is titled
Hanzo Datastore. Its id stays — an installed integration references it.
data-collected.json and the dashboards keep ClickHouseProfileEvents_* and
ClickHouseAsyncMetrics_*: those are the names the server binary emits, checked
in the running pod.
94 lines
1.9 KiB
JSON
94 lines
1.9 KiB
JSON
{
|
|
"id": "nginx",
|
|
"title": "Nginx",
|
|
"description": "Monitor nginx using logs and metrics.",
|
|
"author": {
|
|
"name": "Hanzo",
|
|
"email": "[email protected]",
|
|
"homepage": "https://o11y.hanzo.ai"
|
|
},
|
|
"icon": "file://icon.svg",
|
|
"categories": [
|
|
"Ingress",
|
|
"HTTP"
|
|
],
|
|
"overview": "file://overview.md",
|
|
"configuration": [
|
|
{
|
|
"title": "Prerequisites",
|
|
"instructions": "file://config/prerequisites.md"
|
|
},
|
|
{
|
|
"title": "Collect Logs",
|
|
"instructions": "file://config/collect-logs.md"
|
|
}
|
|
],
|
|
"assets": {
|
|
"logs": {
|
|
"pipelines": []
|
|
},
|
|
"dashboards": null,
|
|
"alerts": null
|
|
},
|
|
"connection_tests": {
|
|
"logs": {
|
|
"attribute_key": "source",
|
|
"attribute_value": "nginx"
|
|
}
|
|
},
|
|
"data_collected": {
|
|
"logs": [
|
|
{
|
|
"name": "Timestamp",
|
|
"path": "timestamp",
|
|
"type": "timestamp"
|
|
},
|
|
{
|
|
"name": "Severity Text",
|
|
"path": "severity_text",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "Severity Number",
|
|
"path": "severity_number",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "Body Bytes Sent",
|
|
"path": "attributes.body_bytes_sent",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "Referrer",
|
|
"path": "attributes.http_referrer",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "User Agent",
|
|
"path": "attributes.http_user_agent",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "Request Method",
|
|
"path": "attributes.request_method",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "Request Path",
|
|
"path": "attributes.request_path",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "Response Status Code",
|
|
"path": "attributes.status",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "Remote Address",
|
|
"path": "attributes.remote_addr",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"metrics": []
|
|
}
|
|
} |