Fix regexp to include bsky.social in 1st-party PDS list

main
Max Ignatenko 2024-05-21 17:05:14 +01:00
parent 51986e34c6
commit 8de7cb87cb
1 changed files with 20 additions and 20 deletions

View File

@ -175,7 +175,7 @@
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "code", "editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "time() - label_replace(repo_commit_received_timestamp{job=\"consumer\",remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "time() - label_replace(repo_commit_received_timestamp{job=\"consumer\",remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"format": "time_series", "format": "time_series",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
@ -1567,7 +1567,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(sum_over_time((clamp_max(sum by(remote) (consumer_connection_up{remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}), 1) )[24h:1m]) / 24 / 60, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum_over_time((clamp_max(sum by(remote) (consumer_connection_up{remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}), 1) )[24h:1m]) / 24 / 60, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"format": "time_series", "format": "time_series",
"instant": false, "instant": false,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
@ -1704,7 +1704,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "code", "editorMode": "code",
"expr": "time() - label_replace(repo_commit_received_timestamp{job=\"consumer\", remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "time() - label_replace(repo_commit_received_timestamp{job=\"consumer\", remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
@ -1823,7 +1823,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "label_replace(sum by(remote) (rate(repo_commits_received_counter{remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum by(remote) (rate(repo_commits_received_counter{remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"legendFormat": "__auto", "legendFormat": "__auto",
@ -1960,7 +1960,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(deriv(repo_commit_received_timestamp{job=\"consumer\",remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval]), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(deriv(repo_commit_received_timestamp{job=\"consumer\",remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval]), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"hide": false, "hide": false,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
"range": true, "range": true,
@ -2096,7 +2096,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type!=\"#commit\",remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")", "expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type!=\"#commit\",remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")",
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
@ -2107,7 +2107,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type=\"#commit\",remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")", "expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type=\"#commit\",remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")",
"hide": false, "hide": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
@ -2205,7 +2205,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "label_replace(sum by(pds) (consumer_bad_records{pds=~\"https://.*\\\\.bsky\\\\.(network|social)\"}), \"pds\", \"$1\", \"pds\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum by(pds) (consumer_bad_records{pds=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}), \"pds\", \"$1\", \"pds\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"instant": false, "instant": false,
@ -2292,7 +2292,7 @@
}, },
"editorMode": "code", "editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "consumer_bad_records{pds=~\"https://.*\\\\.bsky\\\\.(network|social)\"}", "expr": "consumer_bad_records{pds=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}",
"format": "table", "format": "table",
"instant": true, "instant": true,
"legendFormat": "__auto", "legendFormat": "__auto",
@ -2447,7 +2447,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "label_replace(sum by(remote) (rate(consumer_connection_failures{remote=~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum by(remote) (rate(consumer_connection_failures{remote=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": false, "includeNullMetadata": false,
"instant": false, "instant": false,
@ -2567,7 +2567,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(sum_over_time((clamp_max(sum by(remote) (consumer_connection_up{remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}), 1) )[24h:1m]) / 24 / 60, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum_over_time((clamp_max(sum by(remote) (consumer_connection_up{remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}), 1) )[24h:1m]) / 24 / 60, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"format": "time_series", "format": "time_series",
"instant": false, "instant": false,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
@ -2704,7 +2704,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "time() - label_replace(repo_commit_received_timestamp{job=\"consumer\", remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "time() - label_replace(repo_commit_received_timestamp{job=\"consumer\", remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}, \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
@ -2823,7 +2823,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "label_replace(sum by(remote) (rate(repo_commits_received_counter{remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum by(remote) (rate(repo_commits_received_counter{remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"legendFormat": "__auto", "legendFormat": "__auto",
@ -2960,7 +2960,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(deriv(repo_commit_received_timestamp{job=\"consumer\",remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval]), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\\\\\.host\\\\\\\\.bsky\\\\\\\\.network)?\")", "expr": "label_replace(deriv(repo_commit_received_timestamp{job=\"consumer\",remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval]), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\\\\\.host\\\\\\\\.bsky\\\\\\\\.network)?\")",
"hide": false, "hide": false,
"legendFormat": "{{remote}}", "legendFormat": "{{remote}}",
"range": true, "range": true,
@ -3096,7 +3096,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type!=\"#commit\",remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")", "expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type!=\"#commit\",remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")",
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
@ -3107,7 +3107,7 @@
"uid": "${DS1}" "uid": "${DS1}"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type=\"#commit\",remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")", "expr": "label_replace(sum by(type) (rate(repo_commits_received_counter{type=\"#commit\",remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://([^.]+)\\\\..*\")",
"hide": false, "hide": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
@ -3205,7 +3205,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "label_replace(sum by(pds) (consumer_bad_records{pds!~\"https://.*\\\\.bsky\\\\.(network|social)\"}), \"pds\", \"$1\", \"pds\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum by(pds) (consumer_bad_records{pds!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}), \"pds\", \"$1\", \"pds\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": true, "includeNullMetadata": true,
"instant": false, "instant": false,
@ -3292,7 +3292,7 @@
}, },
"editorMode": "code", "editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "consumer_bad_records{pds!~\"https://.*\\\\.bsky\\\\.(network|social)\"}", "expr": "consumer_bad_records{pds!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}",
"format": "table", "format": "table",
"instant": true, "instant": true,
"legendFormat": "__auto", "legendFormat": "__auto",
@ -3447,7 +3447,7 @@
}, },
"disableTextWrap": false, "disableTextWrap": false,
"editorMode": "builder", "editorMode": "builder",
"expr": "label_replace(sum by(remote) (rate(consumer_connection_failures{remote!~\"https://.*\\\\.bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")", "expr": "label_replace(sum by(remote) (rate(consumer_connection_failures{remote!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}[$rate_interval])), \"remote\", \"$1\", \"remote\", \"https://((?U).*)(\\\\.host\\\\.bsky\\\\.network)?\")",
"fullMetaSearch": false, "fullMetaSearch": false,
"includeNullMetadata": false, "includeNullMetadata": false,
"instant": false, "instant": false,
@ -4034,6 +4034,6 @@
"timezone": "", "timezone": "",
"title": "Bluesky indexer", "title": "Bluesky indexer",
"uid": "bskyIndexer", "uid": "bskyIndexer",
"version": 22, "version": 23,
"weekStart": "" "weekStart": ""
} }