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
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "rust-env"; | |
nativeBuildInputs = [ | |
rustc cargo rustracerrustfmt rls | |
# Example Build-time Additional Dependencies | |
pkgconfig | |
]; |
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
from(bucket: "devrel-platform-metrics") | |
|> range(start: v.timeRangeStart, stop: v.timeRangeStop) | |
|> filter(fn: (r) => r["_measurement"] == "docker_hub") | |
|> filter(fn: (r) => r["_field"] == "pull_count") | |
|> group(columns: ["url"]) | |
|> count() | |
|> group() | |
|> sort(columns: ["_value"], desc: 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
.define( | |
INFLUXDB_MEASUREMENT, | |
Type.STRING, | |
"", | |
Importance.LOW, | |
INFLUXDB_MEASUREMENT_DOC | |
) | |
.define( | |
INFLUXDB_MEASUREMENT_FIELD, | |
Type.STRING, |
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
managers: | |
arch: | |
command: yay | |
install: -Sy --noconfirm | |
uninstall: -Rd --noconfirm | |
debian: | |
command: apt | |
install: install -y | |
uninstall: uninstall -y | |
nix: |
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
import * as pulumi from "@pulumi/pulumi"; | |
import * as k8s from "@pulumi/kubernetes"; | |
const config = new pulumi.Config(); | |
const kubernetesProvider = new k8s.Provider("metrics", { | |
kubeconfig: config.requireSecret("kubeconfig"), | |
// Why doesn't it use the namespace from the context? | |
// PR submitted: https://github.com/pulumi/pulumi-kubernetes/pull/862 | |
namespace: "community" | |
}); |
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
version: '3' | |
services: | |
plex: | |
image: plexinc/pms-docker:latest | |
environment: | |
- PLEX_CLAIM="CLAIM-2PDJ1X9MGSCEISNKTTQZ" | |
- PLEX_UID=1000 | |
- PLEX_GID=1000 | |
volumes: |
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
{ | |
"stats": [{ | |
"name": "access_log_file.flushed_by_timer", | |
"value": 0 | |
}, { | |
"name": "access_log_file.reopen_failed", | |
"value": 0 | |
}, { | |
"name": "access_log_file.write_buffered", | |
"value": 0 |
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
2019-03-06T19:39:48Z I! Starting Telegraf | |
2019-03-06T19:39:48Z I! Loaded inputs: github | |
2019-03-06T19:39:48Z I! Loaded aggregators: | |
2019-03-06T19:39:48Z I! Loaded processors: | |
2019-03-06T19:39:48Z I! Loaded outputs: file | |
2019-03-06T19:39:48Z I! Tags enabled: host=p4x-639.lan | |
2019-03-06T19:39:48Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"p4x-639.lan", Flush Interval:10s | |
github,host=p4x-639.lan,language=Go,name=influxdb size=105771i,stars=15718i,forks=2259i,open_issues=1421i 1551901192000000000 | |
^C2019-03-06T19:40:01Z I! [agent] Hang on, flushing any cached metrics before shutdown |
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
test: | |
script: | |
- ls |
NewerOlder