This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # configure protobuf search paths | |
| # ensure you are in a cloned loki root path | |
| cat > ~/.config/wireshark/protobuf_search_paths <<EOF | |
| "$(pwd)/pkg/logproto","TRUE" | |
| "$(pwd)","FALSE" | |
| "$(pwd)/vendor","FALSE" | |
| "/nix/store/drrmxvscqaa6521a46lqwkhhv82qr88g-source/vendor/github.com/gogo/protobuf/protobuf","FALSE" | |
| EOF | |
| # capture and decode 9095 as http2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| logging { | |
| level = "info" | |
| format = "logfmt" | |
| } | |
| discovery.kubernetes "pods" { | |
| role = "pod" | |
| } | |
| discovery.relabel "local_pods" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| block = '01H2FK73D796PRDR32PGGMKV2H/' | |
| mappings = pd.read_parquet(block+'mappings.parquet', engine='pyarrow') | |
| strings = pd.read_parquet(block+'strings.parquet', engine='pyarrow') | |
| locations = pd.read_parquet(block+'locations.parquet', engine='pyarrow') | |
| stacktraces = pd.read_parquet(block+'stacktraces.parquet', engine='pyarrow') | |
| functions = pd.read_parquet(block+'functions.parquet', engine='pyarrow') | |
| def resolve_strings(df, columns=[]): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| blue = "000096"; | |
| white = "ffffff"; | |
| green = "009600"; | |
| orange = "ff7700"; | |
| dark-orange = "803500"; | |
| red = "ff0000"; | |
| in | |
| '' | |
| g logo ${white} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # This script scales down a stateful set in a controlled way one by one. | |
| set -euo pipefail | |
| set -x | |
| KUBERNETES_CONTEXT=${KUBERNETES_CONTEXT:-dev-us-central-0} | |
| KUBERNETES_NAMESPACE=${KUBERNETES_NAMESPACE:-fire-dev-001} |
OlderNewer