Skip to content

Instantly share code, notes, and snippets.

View avinashupadhya99's full-sized avatar
🎯
Focusing

Avinash Upadhyaya K R avinashupadhya99

🎯
Focusing
View GitHub Profile
groups:
- name: connectors
rules:
# Alert for any instance that is unreachable for >2 minutes.
- alert: Failed connector task
expr: sum(kafka_connect_connect_worker_metrics_connector_failed_task_count) > 0
for: 2m
labels:
severity: page
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: Confluent Cloud
scrape_interval: 1m
scrape_timeout: 1m
honor_timestamps: true
static_configs:
@avinashupadhya99
avinashupadhya99 / backend.yaml
Created April 3, 2023 04:30
Manifest files from Kuma Multi Mesh Talk
apiVersion: v1
kind: Namespace
metadata:
name: kuma-demo
namespace: kuma-demo
labels:
kuma.io/sidecar-injection: enabled
---
apiVersion: apps/v1
kind: Deployment

Kind cluster -

kind create cluster --name kuma-k8s-1.24 --image kindest/node:v1.24.7

Port forwards -

kubectl port-forward deploy/kuma-control-plane -n kuma-system 5681

kubectl port-forward deploy/kuma-demo-app -n kuma-demo 8080
{
"title": "Weather App",
"description": "",
"widgets": [
{
"id": 2019214410224614,
"definition": {
"type": "note",
"content": "# Weather App\n\nWeather App is a simple Python Flask application that uses the Open Weather Map API to return the weather details of a city. The application is used for demonstrating Datadog APM and RUM capabilities. This dashboard captures the overview of the application.",
"background_color": "transparent",
{
"data": {
"type": "notebooks",
"attributes": {
"name": "Datadog Agent Issues",
"metadata": {
"type": null
},
"time": {
"live_span": "1h"
echo 'apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: global-proxy-cache
annotations:
kubernetes.io/ingress.class: kong
labels:
global: "true"
config:
response_code:
@avinashupadhya99
avinashupadhya99 / litmus-network-latency.yaml
Created November 24, 2022 12:31
Manifest for Litmus Chaos Network Latency for one of the pods
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: network-delay-1669293024
namespace: litmus
labels:
subject: network-delay_litmus
spec:
arguments:
parameters:
  • Set logs_enabled: true in datadog.yaml file.
  • Create conf.yaml file in conf.d/python.d directory with the following contents:
init_config:

instances:

##Log section
logs: