Skip to content

Instantly share code, notes, and snippets.

View reutsharabani's full-sized avatar
🐻
with Mia <3

Reut Sharabani reutsharabani

🐻
with Mia <3
View GitHub Profile
metrics:
- aws_namespace: AWS/ApplicationELB
aws_metric_name: HealthyHostCount
aws_dimensions: [AvailabilityZone, LoadBalancer, TargetGroup]
aws_statistics: [Average]
- aws_namespace: AWS/ApplicationELB
aws_metric_name: UnHealthyHostCount
aws_dimensions: [AvailabilityZone, LoadBalancer, TargetGroup]
aws_statistics: [Average]
- aws_namespace: AWS/NetworkELB
# NLBs followed ALBs.
# All this does is divides healthy by total (once for NLB and once for ALB) and formats them nicely.
label_replace(
aws_networkelb_healthy_host_count_average offset 15m / (aws_networkelb_healthy_host_count_average offset 15m + aws_networkelb_un_healthy_host_count_average offset 15m),
"target_group",
"$2-$3",
"target_group",
"targetgroup/k8s-([A-Za-z]+)-([A-Za-z]+)-([A-Za-z0-9]+)/(.*)"
)
or
import inspect
import itertools
import networkx as nx
from networkx.drawing.nx_agraph import to_agraph
class Provided:
pass
Computer Information:
Manufacturer: Apple
Model: iMac19,1
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
CPU Family: 0x6
Loaded /Users/reutsharabani/Library/Application Support/Steam/steamapps/common/dota 2 beta/game/bin/osx64/dota2.app/Contents/MacOS/libengine2.dylib, got 0x2d69b820
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/Users/reutsharabani/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamclient.dylib' OK.
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
found breakpad via in process memory: '/Users/reutsharabani/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/Frameworks/Breakpad.framework/Versions/A/Resources'
Installing breakpad crash handler
Looking up breakpad interfaces from steamclient