Skip to content

Commit

Permalink
fix: really disable js-ceramic node metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Jul 2, 2024
1 parent 6799d3c commit 21cf3bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions operator/src/network/ceramic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ r#"{
"metrics": {
"metrics-exporter-enabled": false,
"prometheus-exporter-enabled": true,
"prometheus-exporter-port": 9464
"prometheus-exporter-port": 9464,
"metrics-publisher-enabled": false
},
"network": {
"name": "${CERAMIC_NETWORK}",
"pubsub-topic": "${CERAMIC_NETWORK_TOPIC}"
},
"node": {
"privateSeedUrl": "inplace:ed25519#${CERAMIC_ADMIN_PRIVATE_KEY}",
"metrics-publisher-enabled": false
"privateSeedUrl": "inplace:ed25519#${CERAMIC_ADMIN_PRIVATE_KEY}"
},
"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 \"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}"
"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 \"metrics-publisher-enabled\": false\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}"
},
"kind": "ConfigMap",
"metadata": {
Expand Down

0 comments on commit 21cf3bf

Please sign in to comment.