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
| Hybrid Observability Architecture Documentation | |
| This document describes the unified monitoring and logging strategy for a multi-environment hybrid infrastructure (INT, PREPROD, PRD) encompassing On-Premises Service Fabric, SQL Servers, AS400, and Kubernetes. | |
| 1. High-Level Architecture Diagram | |
| The diagram below illustrates the flow of telemetry data from various sources through Grafana Alloy collectors to the centralized LGTM (Loki, Grafana, Tempo, Mimir) stack. | |
| graph TD | |
| subgraph "On-Premises Infrastructure (INT/PREPROD/PRD)" |
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
| # Mimir Compactor - Paramètres Helm Chart | |
| ## Introduction | |
| Le **compactor** fusionne et optimise les blocs TSDB stockés dans l'object storage pour réduire les coûts et améliorer les performances de requêtes. | |
| --- | |
| ## Paramètres de déploiement Kubernetes |
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
| { | |
| "Name": "Automation Jumpbox Manager", | |
| "IsCustom": true, | |
| "Description": "Allows an Automation Account to start, stop, and assess patches for VMs across a tenant.", | |
| "Actions": [ | |
| "Microsoft.Resources/subscriptions/read", | |
| "Microsoft.Compute/virtualMachines/read", | |
| "Microsoft.Compute/virtualMachines/start/action", | |
| "Microsoft.Compute/virtualMachines/deallocate/action", | |
| "Microsoft.Compute/virtualMachines/assessPatches/action" |
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
| curl -X POST \ | |
| -H "Ocp-Apim-Subscription-Key: YOUR_DOCUMENT_INTELLIGENCE_SUBSCRIPTION_KEY" \ | |
| -H "Content-Type: multipart/form-data" \ | |
| -F "file=@c:/data/example.pdf" \ | |
| "YOUR_DOCUMENT_INTELLIGENCE_ENDPOINT/documentintelligence/rest/v1.0-preview/custom/models/YOUR_MODEL_GUID/analyze" |
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
| param ( | |
| [Parameter(Mandatory = $true)] | |
| [string]$Organization, | |
| [Parameter(Mandatory = $true)] | |
| [string]$Project, | |
| [Parameter(Mandatory = $true)] | |
| [string]$ClientId, |
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
| # read a json local file from local disk and extract the build information | |
| import json | |
| import requests | |
| json_url = 'http://localhost:8080/v1/rules' | |
| # load json form url and extract the build information | |
| json_file = requests.get(json_url).json() | |
| # json_file = 'test.json' | |
| # get base adress from json_url |
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
| https://583c-77-201-81-191.ngrok-free.app/dashboards |
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
| cluster: | |
| name: my-cluster | |
| externalServices: | |
| prometheus: | |
| host: http://mimir-nginx.observability.svc:80 | |
| # queryEndpoint: /api/v1/push | |
| writeEndpoint: /api/v1/push | |
| authMode: none | |
| tenantId: "1" |
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
| # Powershell script to download and install grafana alloy in silent mode | |
| # https://github.com/grafana/alloy/releases/download/v1.1.1/alloy-installer-windows-amd64.exe.zip | |
| # Define the URL of the alloy installer | |
| $url = "https://github.com/grafana/alloy/releases/download/v1.1.1/alloy-installer-windows-amd64.exe.zip" | |
| # Define the path where the installer will be saved | |
| $installerPath = "$env:TEMP\alloy-installer-windows-amd64.exe.zip" | |
| # Download the installer | |
| Invoke-WebRequest -Uri $url -OutFile $installerPath |
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
| docker run -it \ | |
| --name pytorch \ | |
| --network=host \ | |
| --cap-add=SYS_PTRACE \ | |
| --security-opt seccomp=unconfined \ | |
| --device=/dev/kfd \ | |
| --device=/dev/dri \ | |
| --group-add video \ | |
| --ipc=host \ | |
| --shm-size 8G \ |
NewerOlder