Skip to content

Instantly share code, notes, and snippets.

View pen-pal's full-sized avatar
💻
I may be slow to respond.

Manish K pen-pal

💻
I may be slow to respond.
View GitHub Profile
@pen-pal
pen-pal / multiple_host.sh
Created January 23, 2024 12:46
kong_multiple_host.sh
#!/bin/bash
# Get all namespaces
namespaces=$(kubectl get namespaces -o jsonpath='{.items[*].metadata.name}')
# Variables to store counts
k8s_secret_count=0
k8s_host_count=0
k8s_service_count=0
k8s_ingress_count=0
@pen-pal
pen-pal / single_host.sh
Created January 23, 2024 12:45
kong_single_host.sh
#!/bin/bash
# Get all namespaces
namespaces=$(kubectl get namespaces -o jsonpath='{.items[*].metadata.name}')
# Variables to store counts
k8s_secret_count=0
k8s_host_count=0
k8s_service_count=0
k8s_ingress_count=0
@pen-pal
pen-pal / logs_prod.json
Created January 11, 2024 04:02
logs_prod.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
@pen-pal
pen-pal / combined_dash_prod.json
Last active January 11, 2024 03:34
new_dash.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
@pen-pal
pen-pal / combined_dashboard.json
Last active January 9, 2024 07:33
Combined Dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
@pen-pal
pen-pal / redis_realtime_monitoring.json
Created December 26, 2023 17:50
redis_realtime_monitoring
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
@pen-pal
pen-pal / redis_exporter_dashboard.json
Created December 26, 2023 17:50
redis_exporter_dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
@pen-pal
pen-pal / google_cloud_logging.json
Last active December 27, 2023 16:08
google_cloud_logging
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
@pen-pal
pen-pal / kubernetes_limited.json
Created December 26, 2023 17:48
kubernetes_limited
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
@pen-pal
pen-pal / postgresql-operator-dashboard.json
Created December 26, 2023 17:48
postgresql-operator-dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,