Why are these wildly different?
WITH
gocd_events as (
SELECT * FROM `di-dev-mtr--buck-5.devinfra_metrics.gocd_events`
)
SELECT *
FROM
related docs | |
https://cloud.google.com/functions/docs/bestpractices/retries#configure_the_retry_policy | |
--- | |
resource "google_cloudfunctions2_function" "collect_metrics" { | |
name = "collect_metrics" | |
location = var.region |
#!/usr/bin/env python3 | |
from __future__ import annotations | |
import re | |
from typing import TYPE_CHECKING | |
from typing import TypeVar | |
from lib.json import JSONArray | |
from lib.json import JSONObject | |
from lib.json import deepget as json_deepget |
diff --git a/gcloud/lib/gcloud_logging_json_to_messages.py b/gcloud/lib/gcloud_logging_json_to_messages.py | |
index f873758..43d0faf 100755 | |
--- a/gcloud/lib/gcloud_logging_json_to_messages.py | |
+++ b/gcloud/lib/gcloud_logging_json_to_messages.py | |
@@ -173,10 +173,14 @@ def get_rpc_method_names(proto: json.Object) -> str: | |
except KeyError: | |
pass | |
- return ".".join(( | |
- gcp_json_get(proto, str, "serviceName").replace(".googleapis.com", ""), |
#!/usr/bin/env python3 | |
""" | |
I attempt to showcase and fix a problem in `urllib.parse.urlunsplit` by fixing it and comparing it to the original. | |
See `DEMO`, below for results. | |
TL;DR: It's currently impossible to obtain relative URIs (like `file:selfie.png`) from urlunsplit, but we could fix it. | |
""" | |
from urllib.parse import urlsplit, urlunsplit |
Why are these wildly different?
WITH
gocd_events as (
SELECT * FROM `di-dev-mtr--buck-5.devinfra_metrics.gocd_events`
)
SELECT *
FROM
#!/usr/bin/env py.test | |
from __future__ import annotations | |
import subprocess | |
from pathlib import Path | |
from typing import IO | |
from typing import Iterable | |
import pandas | |
from _pytest.python import Metafunc |
merged via rebase:
https://github.com/getsentry/gha-sandbox.private/pull/5
main 87fa9c42e0a098d7783465d977ec0438bead0f8e
d3' bbc490e3983dfba36d58a86ced39cee6a4e9ca75 PullRequest.mergeCommit merge_commit_sha
c3' c7898f8f1b15e7b5f02d14f653b640252dd85936
b3' 30989ccb9095a639544119edeaaa00a0fa889ef1
a3' ed80389ae9d10911b81761e7fa0ab3e9ca194546
"name","startedAt","completedAt","conclusion","detailsUrl","duration" | |
"self-hosted-end-to-end","2024-11-26T15:46:09Z","2024-11-26T16:07:08Z","SUCCESS","https://github.com/getsentry/snuba/actions/runs/12034154894/job/33550021806",1259 | |
"self-hosted-end-to-end","2024-11-26T16:47:29Z","2024-11-26T17:14:01Z","SUCCESS","https://github.com/getsentry/snuba/actions/runs/12035220718/job/33553661370",1592 | |
"self-hosted-end-to-end","2024-11-26T16:48:18Z","2024-11-26T17:12:22Z","SUCCESS","https://github.com/getsentry/snuba/actions/runs/12035235305/job/33553709892",1444 | |
"self-hosted-end-to-end","2024-11-26T16:53:44Z","2024-11-26T17:14:11Z","SUCCESS","https://github.com/getsentry/snuba/actions/runs/12035327143/job/33554017768",1227 | |
"self-hosted-end-to-end","2024-11-26T16:56:25Z","2024-11-26T17:15:59Z","SUCCESS","https://github.com/getsentry/snuba/actions/runs/12035373227/job/33554176510",1174 | |
"self-hosted-end-to-end","2024-11-27T15:27:57Z","2024-11-27T15:56:07Z","SUCCESS","https://github.com/getsentry/snuba/actions/runs/1205 |
3D cube,Abraham Lincoln,Adidas,Africa,Aladdin,Alaska,Albert Einstein,Alice in Wonderland,Amazon Box,Amazon River,America,Android,Angkor Wat,Angry Birds,Antarctica,Apple Logo,Arctic,Audi,Australia,BMW,Baby Yoda,Baltic Sea,Barack Obama,Barney,Batman,Batman Logo,Beethoven,Benjamin Franklin,Big Ben,Bitcoin,Black Sea,Brandenburg Gate,Brazil,Buckingham Palace,Bugs Bunny,Burger King,Canada,Capitol Building,Captain America,Caribbean,Caspian Sea,Charlie Chaplin,China,Christ the Redeemer,Chuck Norris,Cleopatra,Coca Cola,Coffee Mug,Colosseum,Columbus,Cookie Monster,DNA,Da Vinci,Dance Move,Darth Vader,Dead Sea,Discord Logo,Disney Castle,Doge,Dollar Sign,Dominos Pizza,Donald Duck,Dracula,Easter Bunny,Egypt,Eiffel Tower,Elmo,Elvis Presley,Emoji,Empire State Building,English Channel,Facebook,FedEx Truck,Ferrari,Ford,France,Frankenstein,Gandhi,Garfield,George Washington,Germany,Ghostbusters,Godzilla,Golden Gate Bridge,Google,Great Britain,Great Lakes,Great Sphinx,Great Wall of China,Greece,Greenland,Grinch,Grumpy Cat,Harry P |