Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable js-ceramic node metrics #195

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion operator/src/network/ceramic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ r#"{
"pubsub-topic": "${CERAMIC_NETWORK_TOPIC}"
},
"node": {
"privateSeedUrl": "inplace:ed25519#${CERAMIC_ADMIN_PRIVATE_KEY}"
"privateSeedUrl": "inplace:ed25519#${CERAMIC_ADMIN_PRIVATE_KEY}",
"metrics-publisher-enabled": false
},
"state-store": {
"mode": "fs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Request {
"apiVersion": "v1",
"data": {
"ceramic-init.sh": "#!/bin/bash\n\nset -eo pipefail\n\nexport CERAMIC_ADMIN_DID=$(composedb did:from-private-key ${CERAMIC_ADMIN_PRIVATE_KEY})\n\nCERAMIC_ADMIN_DID=$CERAMIC_ADMIN_DID envsubst < /ceramic-init/daemon-config.json > /config/daemon-config.json\n",
"daemon-config.json": "{\n \"anchor\": {\n \"auth-method\": \"did\",\n \"anchor-service-url\": \"${CAS_API_URL}\",\n \"ethereum-rpc-url\": \"${ETH_RPC_URL}\"\n },\n \"http-api\": {\n \"cors-allowed-origins\": [\n \"${CERAMIC_CORS_ALLOWED_ORIGINS}\"\n ],\n \"admin-dids\": [\n \"${CERAMIC_ADMIN_DID}\"\n ]\n },\n \"ipfs\": {\n \"mode\": \"remote\",\n \"host\": \"${CERAMIC_IPFS_HOST}\"\n },\n \"logger\": {\n \"log-level\": ${CERAMIC_LOG_LEVEL},\n \"log-to-files\": false\n },\n \"metrics\": {\n \"metrics-exporter-enabled\": false,\n \"prometheus-exporter-enabled\": true,\n \"prometheus-exporter-port\": 9464\n },\n \"network\": {\n \"name\": \"${CERAMIC_NETWORK}\",\n \"pubsub-topic\": \"${CERAMIC_NETWORK_TOPIC}\"\n },\n \"node\": {\n \"privateSeedUrl\": \"inplace:ed25519#${CERAMIC_ADMIN_PRIVATE_KEY}\"\n },\n \"state-store\": {\n \"mode\": \"fs\",\n \"local-directory\": \"${CERAMIC_STATE_STORE_PATH}\"\n },\n \"indexing\": {\n \"db\": \"postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost/${POSTGRES_DB}\",\n \"allow-queries-before-historical-sync\": true,\n \"disable-composedb\": false,\n \"enable-historical-sync\": false\n }\n}"
"daemon-config.json": "{\n \"anchor\": {\n \"auth-method\": \"did\",\n \"anchor-service-url\": \"${CAS_API_URL}\",\n \"ethereum-rpc-url\": \"${ETH_RPC_URL}\"\n },\n \"http-api\": {\n \"cors-allowed-origins\": [\n \"${CERAMIC_CORS_ALLOWED_ORIGINS}\"\n ],\n \"admin-dids\": [\n \"${CERAMIC_ADMIN_DID}\"\n ]\n },\n \"ipfs\": {\n \"mode\": \"remote\",\n \"host\": \"${CERAMIC_IPFS_HOST}\"\n },\n \"logger\": {\n \"log-level\": ${CERAMIC_LOG_LEVEL},\n \"log-to-files\": false\n },\n \"metrics\": {\n \"metrics-exporter-enabled\": false,\n \"prometheus-exporter-enabled\": true,\n \"prometheus-exporter-port\": 9464\n },\n \"network\": {\n \"name\": \"${CERAMIC_NETWORK}\",\n \"pubsub-topic\": \"${CERAMIC_NETWORK_TOPIC}\"\n },\n \"node\": {\n \"privateSeedUrl\": \"inplace:ed25519#${CERAMIC_ADMIN_PRIVATE_KEY}\",\n \"metrics-publisher-enabled\": false\n },\n \"state-store\": {\n \"mode\": \"fs\",\n \"local-directory\": \"${CERAMIC_STATE_STORE_PATH}\"\n },\n \"indexing\": {\n \"db\": \"postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost/${POSTGRES_DB}\",\n \"allow-queries-before-historical-sync\": true,\n \"disable-composedb\": false,\n \"enable-historical-sync\": false\n }\n}"
},
"kind": "ConfigMap",
"metadata": {
Expand Down
Loading