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,
"editorMode": "code",
"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",
"fullMetaSearch": false,
"includeNullMetadata": true,
@ -1567,7 +1567,7 @@
"uid": "${DS1}"
},
"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",
"instant": false,
"legendFormat": "{{remote}}",
@ -1704,7 +1704,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": true,
"legendFormat": "{{remote}}",
@ -1823,7 +1823,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": true,
"legendFormat": "__auto",
@ -1960,7 +1960,7 @@
"uid": "${DS1}"
},
"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,
"legendFormat": "{{remote}}",
"range": true,
@ -2096,7 +2096,7 @@
"uid": "${DS1}"
},
"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",
"range": true,
"refId": "A"
@ -2107,7 +2107,7 @@
"uid": "${DS1}"
},
"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,
"legendFormat": "__auto",
"range": true,
@ -2205,7 +2205,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": true,
"instant": false,
@ -2292,7 +2292,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "consumer_bad_records{pds=~\"https://.*\\\\.bsky\\\\.(network|social)\"}",
"expr": "consumer_bad_records{pds=~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
@ -2447,7 +2447,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": false,
"instant": false,
@ -2567,7 +2567,7 @@
"uid": "${DS1}"
},
"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",
"instant": false,
"legendFormat": "{{remote}}",
@ -2704,7 +2704,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": true,
"legendFormat": "{{remote}}",
@ -2823,7 +2823,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": true,
"legendFormat": "__auto",
@ -2960,7 +2960,7 @@
"uid": "${DS1}"
},
"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,
"legendFormat": "{{remote}}",
"range": true,
@ -3096,7 +3096,7 @@
"uid": "${DS1}"
},
"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",
"range": true,
"refId": "A"
@ -3107,7 +3107,7 @@
"uid": "${DS1}"
},
"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,
"legendFormat": "__auto",
"range": true,
@ -3205,7 +3205,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": true,
"instant": false,
@ -3292,7 +3292,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "consumer_bad_records{pds!~\"https://.*\\\\.bsky\\\\.(network|social)\"}",
"expr": "consumer_bad_records{pds!~\"https://(.*\\\\.)?bsky\\\\.(network|social)\"}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
@ -3447,7 +3447,7 @@
},
"disableTextWrap": false,
"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,
"includeNullMetadata": false,
"instant": false,
@ -4034,6 +4034,6 @@
"timezone": "",
"title": "Bluesky indexer",
"uid": "bskyIndexer",
"version": 22,
"version": 23,
"weekStart": ""
}