This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
homepage.description: Drinks! | |
homepage.group: Organisation | |
homepage.href: https://drinks.my.domain/ | |
homepage.name: Drinks | |
traefik.enable: "true" | |
traefik.http.routers.drinks-api.entrypoints: websecure |
This file contains 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
// Sample config for Alloy that collects metrics, logs, and traces | |
// and forwards them to Grafana Cloud using the Grafana Cloud OTEL | |
// endpoint | |
// | |
// For a full configuration reference, see https://grafana.com/docs/alloy | |
logging { | |
level = "debug" | |
} | |
prometheus.exporter.unix "default" { |
This file contains 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
esphome: | |
name: m5stick | |
friendly_name: m5stick | |
esp32: | |
board: m5stick-c | |
framework: | |
type: arduino | |
# Enable logging |
This file contains 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
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
io.kompose.service: octoprint-server | |
app: octoprint-server | |
name: octoprint-server | |
namespace: default |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
io.kompose.service: octoprint-server | |
name: octoprint-server | |
namespace: default | |
spec: | |
replicas: 1 |
This file contains 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 python | |
import sentry_sdk | |
import json | |
import os | |
import requests | |
import sys | |
from sqlalchemy import create_engine | |
from sqlalchemy.orm import sessionmaker |
This file contains 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
job "platform-jobs" { | |
datacenters = ["dc1"] | |
# system job, runs on all nodes | |
type = "system" | |
update { | |
min_healthy_time = "10s" | |
healthy_deadline = "5m" | |
progress_deadline = "10m" | |
auto_revert = true | |
} |
This file contains 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
// Be sure to follow the instructions at | |
// https://grafana.com/docs/loki/latest/clients/docker-driver/ | |
// otherwise this will not work! | |
// | |
// Also, remember to remove these comments because JSON doesn't support them! | |
{ | |
"data-root": "/mnt/docker", | |
"metrics-addr" : "10.231.1.21:9323", | |
"experimental" : true, |
This file contains 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
export OTEL_PYTHON_LOG_CORRELATION="true" | |
export OTEL_RESOURCE_ATTRIBUTES="service.name=otlptest, environment=test" | |
export OTEL_TRACES_EXPORTER="otlphttp" | |
export OTEL_EXPORTER_OTLP_ENDPOINT="https://otlphttp" | |
export OTEL_PYTHON_DJANGO_INSTRUMENT="True" |
This file contains 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
metadata { | |
definition (name: "OctoPrint", namespace: "OctoPrint", author: "MC", importUrl: "https://raw.githubusercontent.com/mikec85/hubitatdrivers/master/octoprint/OctoPrint.groovy") { | |
capability "Initialize" | |
capability "Switch" | |
capability "PresenceSensor" | |
attribute "state", "enum", ["Operational", "Printing", "Pausing","Paused", "Cancelling", "Error", "Offline"] | |
attribute "completion", "string" | |
attribute "printTimeLeft", "string" | |
NewerOlder