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 clojure:openjdk-13-tools-deps-slim-buster as builder | |
WORKDIR /usr/src/app | |
# install cambada builder, as it will not change | |
RUN clj -Sdeps '{:deps {luchiniatwork/cambada {:mvn/version "1.0.0"}}}' -e :ok | |
# install main deps, sometimes change | |
COPY deps.edn /usr/src/app/deps.edn | |
RUN clj -e :ok |
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
groups: | |
- name: prometheus/alert.rules | |
rules: | |
- alert: service_down | |
expr: up == 0 | |
- alert: APIHighInvocationRate | |
expr: sum(rate(gateway_function_invocation_total{code="200"}[10s])) by (function_name) / sum(gateway_service_count) by (function_name) > 5 | |
for: 5s | |
labels: | |
service: gateway |
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
log-queries | |
no-negcache | |
all-servers | |
cache-size=1000 | |
max-cache-ttl=10801 | |
min-cache-ttl=10800 | |
server=/consul/10.2.2.1#8600 |
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: "2" | |
services: | |
# service discovery | |
consul: | |
image: consul:1.5.0 | |
ports: | |
- 8500:8500 | |
consul-exporter: | |
image: prom/consul-exporter |
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
# config file version | |
apiVersion: 1 | |
# list of datasources that should be deleted from the database | |
deleteDatasources: | |
- name: Prometheus | |
orgId: 1 | |
# list of datasources to insert/update depending | |
# whats available in the database |
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
[rabbitmq_federation_management,rabbitmq_management,rabbitmq_mqtt,rabbitmq_stomp,rabbitmq_peer_discovery_consul]. |
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
global: | |
scrape_interval: 5s | |
scrape_configs: | |
- job_name: nomad_metrics | |
params: | |
format: | |
- prometheus | |
scrape_interval: 5s | |
scrape_timeout: 5s | |
metrics_path: /v1/metrics |
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 lua | |
require 'socket' | |
require 'copas' | |
assert(arg[1],"Must pass host and port to listen") | |
assert(arg[2],"Must pass host and port to proxy") | |
local config = { | |
newhost=string.gsub(arg[1],"([^:]+):(%d+)","%1"), | |
newport=string.gsub(arg[1],"([^:]+):(%d+)","%2"), |
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
global: | |
scrape_interval: 5s | |
scrape_configs: | |
- job_name: 'services' | |
consul_sd_configs: | |
- server: 'host:8500' | |
relabel_configs: | |
- source_labels: [__meta_consul_tags] | |
regex: .*,prometheus,.* | |
action: keep |
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
88K ucs_mma_28012015.attributes.csv.gz | |
352K ucs_mma_28012015.topo.json.gz | |
460K ucs_mma_28012015.attributes.csv | |
2,8M ucs_mma_28012015.topo.json | |
16M ucs_mma_28012015.spatial.deflate.db | |
26M ucs_mma_28012015.spatial.db | |
31M ucs_mma_28012015.wkt.csv.gz | |
31M ucs_mma_28012015.kml.gz | |
31M ucs_mma_28012015.geo.json.gz | |
38M ucs_mma_28012015.wkb.db |
NewerOlder