sidekiq-prometheus-exporter 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +12 -0
- data/.rubocop.yml +28 -28
- data/.travis.yml +23 -10
- data/README.md +93 -49
- data/Rakefile +73 -0
- data/docker/Dockerfile +24 -0
- data/docker/README.md +55 -0
- data/docker/config.ru +38 -0
- data/examples/docker-compose.yml +1 -1
- data/examples/{sidekiq.json → sidekiq-dashboard.grafana-6.json} +10 -52
- data/examples/sidekiq-dashboard.grafana-7.json +845 -0
- data/gemfiles/sidekiq_3.3.1.gemfile.lock +8 -6
- data/gemfiles/sidekiq_3.x.gemfile.lock +8 -6
- data/gemfiles/sidekiq_4.x.gemfile.lock +8 -6
- data/gemfiles/sidekiq_5.x.gemfile.lock +9 -7
- data/gemfiles/sidekiq_6.x.gemfile.lock +9 -7
- data/gemfiles/sidekiq_head.gemfile.lock +5 -5
- data/helm/sidekiq-prometheus-exporter/.helmignore +22 -0
- data/helm/sidekiq-prometheus-exporter/Chart.yaml +6 -0
- data/helm/sidekiq-prometheus-exporter/README.md +87 -0
- data/helm/sidekiq-prometheus-exporter/templates/NOTES.txt +15 -0
- data/helm/sidekiq-prometheus-exporter/templates/_helpers.tpl +109 -0
- data/helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml +20 -0
- data/helm/sidekiq-prometheus-exporter/templates/clusterrolebinding.yaml +17 -0
- data/helm/sidekiq-prometheus-exporter/templates/deployment.yaml +62 -0
- data/helm/sidekiq-prometheus-exporter/templates/service.yaml +17 -0
- data/helm/sidekiq-prometheus-exporter/templates/serviceaccount.yaml +9 -0
- data/helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml +26 -0
- data/helm/sidekiq-prometheus-exporter/values.yaml +133 -0
- data/lib/sidekiq/prometheus/exporter/version.rb +1 -1
- data/sidekiq-prometheus-exporter.gemspec +1 -1
- metadata +25 -8
@@ -0,0 +1,15 @@
|
|
1
|
+
Try out an exporter metrics:
|
2
|
+
{{- if contains "NodePort" .Values.service.type }}
|
3
|
+
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "sidekiq-prometheus-exporter.fullname" . }})
|
4
|
+
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
5
|
+
echo "Run the following command: curl http://$NODE_IP:$NODE_PORT/metrics"
|
6
|
+
{{- else if contains "LoadBalancer" .Values.service.type }}
|
7
|
+
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
8
|
+
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "sidekiq-prometheus-exporter.fullname" . }}'
|
9
|
+
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "sidekiq-prometheus-exporter.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
10
|
+
echo "Run the following command: curl http://$SERVICE_IP:{{ .Values.service.port }}/metrics"
|
11
|
+
{{- else if contains "ClusterIP" .Values.service.type }}
|
12
|
+
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "sidekiq-prometheus-exporter.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
13
|
+
kubectl port-forward $POD_NAME 9292:{{ .Values.containerPort }}
|
14
|
+
echo "Run the following command: curl http://127.0.0.1:9292/metrics"
|
15
|
+
{{- end }}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
{{/* vim: set filetype=mustache: */}}
|
2
|
+
{{/*
|
3
|
+
Expand the name of the chart.
|
4
|
+
*/}}
|
5
|
+
{{- define "sidekiq-prometheus-exporter.name" -}}
|
6
|
+
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
7
|
+
{{- end -}}
|
8
|
+
|
9
|
+
{{/*
|
10
|
+
Expand the name of the docker image.
|
11
|
+
*/}}
|
12
|
+
{{- define "sidekiq-prometheus-exporter.image" -}}
|
13
|
+
{{- $registryName := .Values.image.registry -}}
|
14
|
+
{{- $repositoryName := .Values.image.repository -}}
|
15
|
+
{{- $tag := .Values.image.tag | toString -}}
|
16
|
+
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
17
|
+
{{- end -}}
|
18
|
+
|
19
|
+
{{/*
|
20
|
+
Create a default fully qualified app name.
|
21
|
+
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
22
|
+
If release name contains chart name it will be used as a full name.
|
23
|
+
*/}}
|
24
|
+
{{- define "sidekiq-prometheus-exporter.fullname" -}}
|
25
|
+
{{- if .Values.fullnameOverride -}}
|
26
|
+
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
27
|
+
{{- else -}}
|
28
|
+
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
29
|
+
{{- if contains $name .Release.Name -}}
|
30
|
+
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
31
|
+
{{- else -}}
|
32
|
+
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
33
|
+
{{- end -}}
|
34
|
+
{{- end -}}
|
35
|
+
{{- end -}}
|
36
|
+
|
37
|
+
{{/*
|
38
|
+
Create chart name and version as used by the chart label.
|
39
|
+
*/}}
|
40
|
+
{{- define "sidekiq-prometheus-exporter.chart" -}}
|
41
|
+
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
42
|
+
{{- end -}}
|
43
|
+
|
44
|
+
{{/*
|
45
|
+
Create the name of the service account to use.
|
46
|
+
*/}}
|
47
|
+
{{- define "sidekiq-prometheus-exporter.serviceAccountName" -}}
|
48
|
+
{{- if .Values.serviceAccount.create -}}
|
49
|
+
{{ default (include "sidekiq-prometheus-exporter.fullname" .) .Values.serviceAccount.name }}
|
50
|
+
{{- else -}}
|
51
|
+
{{ default "default" .Values.serviceAccount.name }}
|
52
|
+
{{- end -}}
|
53
|
+
{{- end -}}
|
54
|
+
|
55
|
+
{{/*
|
56
|
+
Create pod service account name.
|
57
|
+
*/}}
|
58
|
+
{{- define "sidekiq-prometheus-exporter.podServiceAccountName" -}}
|
59
|
+
{{- if and .Values.serviceAccount .Values.serviceAccount.create -}}
|
60
|
+
serviceAccountName: {{ include "sidekiq-prometheus-exporter.serviceAccountName" . }}
|
61
|
+
{{- end -}}
|
62
|
+
{{- end -}}
|
63
|
+
|
64
|
+
{{/*
|
65
|
+
Create pod image pull secrets.
|
66
|
+
*/}}
|
67
|
+
{{- define "sidekiq-prometheus-exporter.podImagePullSecrets" -}}
|
68
|
+
{{- if .Values.image.pullSecrets -}}
|
69
|
+
imagePullSecrets:
|
70
|
+
{{- range .Values.image.pullSecrets }}
|
71
|
+
- name: {{ . }}
|
72
|
+
{{- end }}
|
73
|
+
{{- end -}}
|
74
|
+
{{- end -}}
|
75
|
+
|
76
|
+
{{/*
|
77
|
+
Create container environment variables.
|
78
|
+
*/}}
|
79
|
+
{{- define "sidekiq-prometheus-exporter.env" -}}
|
80
|
+
{{- if .Values.envFrom -}}
|
81
|
+
envFrom:
|
82
|
+
{{ if eq (default "configMapRef" .Values.envFrom.type) "secretRef" -}}
|
83
|
+
- secretRef:
|
84
|
+
name: {{ .Values.envFrom.name }}
|
85
|
+
{{- else -}}
|
86
|
+
- configMapRef:
|
87
|
+
name: {{ .Values.envFrom.name }}
|
88
|
+
{{- end -}}
|
89
|
+
{{- else if .Values.env -}}
|
90
|
+
env:
|
91
|
+
{{- range $name, $value := .Values.env }}
|
92
|
+
- name: {{ $name }}
|
93
|
+
value: {{ $value | quote }}
|
94
|
+
{{- end }}
|
95
|
+
{{- end -}}
|
96
|
+
{{- end -}}
|
97
|
+
|
98
|
+
{{/*
|
99
|
+
Expand common labels.
|
100
|
+
*/}}
|
101
|
+
{{- define "sidekiq-prometheus-exporter.labels" -}}
|
102
|
+
app.kubernetes.io/name: {{ include "sidekiq-prometheus-exporter.name" . }}
|
103
|
+
helm.sh/chart: {{ include "sidekiq-prometheus-exporter.chart" . }}
|
104
|
+
app.kubernetes.io/instance: {{ .Release.Name }}
|
105
|
+
{{- if .Chart.AppVersion }}
|
106
|
+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
107
|
+
{{- end }}
|
108
|
+
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
109
|
+
{{- end -}}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{{- if and .Values.rbac.create }}
|
2
|
+
---
|
3
|
+
apiVersion: rbac.authorization.k8s.io/v1
|
4
|
+
kind: ClusterRole
|
5
|
+
metadata:
|
6
|
+
name: {{ template "sidekiq-prometheus-exporter.fullname" . }}
|
7
|
+
labels:
|
8
|
+
{{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
|
9
|
+
rules:
|
10
|
+
- apiGroups: [""]
|
11
|
+
resources:
|
12
|
+
{{- if eq (default "configMapRef" .Values.envFrom.type) "secretRef" }}
|
13
|
+
- "secrets"
|
14
|
+
{{- else }}
|
15
|
+
- "configmap"
|
16
|
+
{{- end }}
|
17
|
+
resourceNames:
|
18
|
+
- {{ .Values.envFrom.name | quote }}
|
19
|
+
verbs: ["get"]
|
20
|
+
{{- end }}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{{- if and .Values.rbac.create }}
|
2
|
+
---
|
3
|
+
apiVersion: rbac.authorization.k8s.io/v1
|
4
|
+
kind: ClusterRoleBinding
|
5
|
+
metadata:
|
6
|
+
name: {{ template "sidekiq-prometheus-exporter.fullname" . }}
|
7
|
+
labels:
|
8
|
+
{{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
|
9
|
+
subjects:
|
10
|
+
- kind: ServiceAccount
|
11
|
+
name: {{ include "sidekiq-prometheus-exporter.serviceAccountName" . }}
|
12
|
+
namespace: {{ .Release.Namespace }}
|
13
|
+
roleRef:
|
14
|
+
kind: ClusterRole
|
15
|
+
name: {{ template "sidekiq-prometheus-exporter.fullname" . }}
|
16
|
+
apiGroup: rbac.authorization.k8s.io
|
17
|
+
{{- end }}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
apiVersion: apps/v1
|
3
|
+
kind: Deployment
|
4
|
+
metadata:
|
5
|
+
name: {{ include "sidekiq-prometheus-exporter.fullname" . }}
|
6
|
+
labels:
|
7
|
+
{{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
|
8
|
+
spec:
|
9
|
+
replicas: 1
|
10
|
+
selector:
|
11
|
+
matchLabels:
|
12
|
+
app.kubernetes.io/name: {{ include "sidekiq-prometheus-exporter.name" . }}
|
13
|
+
app.kubernetes.io/instance: {{ .Release.Name }}
|
14
|
+
template:
|
15
|
+
metadata:
|
16
|
+
labels:
|
17
|
+
app.kubernetes.io/name: {{ include "sidekiq-prometheus-exporter.name" . }}
|
18
|
+
app.kubernetes.io/instance: {{ .Release.Name }}
|
19
|
+
{{- with .Values.podAnnotations }}
|
20
|
+
annotations:
|
21
|
+
{{- toYaml . | nindent 8 }}
|
22
|
+
{{- end }}
|
23
|
+
spec:
|
24
|
+
containers:
|
25
|
+
- name: {{ .Chart.Name }}
|
26
|
+
image: {{ include "sidekiq-prometheus-exporter.image" . }}
|
27
|
+
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
28
|
+
ports:
|
29
|
+
- name: metrics
|
30
|
+
containerPort: {{ .Values.containerPort }}
|
31
|
+
protocol: TCP
|
32
|
+
{{- with .Values.resources }}
|
33
|
+
resources:
|
34
|
+
{{- toYaml . | nindent 12 }}
|
35
|
+
{{- end }}
|
36
|
+
livenessProbe:
|
37
|
+
tcpSocket:
|
38
|
+
port: metrics
|
39
|
+
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
40
|
+
readinessProbe:
|
41
|
+
tcpSocket:
|
42
|
+
port: metrics
|
43
|
+
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
44
|
+
{{- include "sidekiq-prometheus-exporter.env" . | nindent 10 }}
|
45
|
+
{{- with .Values.nodeSelector }}
|
46
|
+
nodeSelector:
|
47
|
+
{{- toYaml . | nindent 8 }}
|
48
|
+
{{- end }}
|
49
|
+
{{- with .Values.affinity }}
|
50
|
+
affinity:
|
51
|
+
{{- toYaml . | nindent 8 }}
|
52
|
+
{{- end }}
|
53
|
+
{{- with .Values.tolerations }}
|
54
|
+
tolerations:
|
55
|
+
{{- toYaml . | nindent 8 }}
|
56
|
+
{{- end }}
|
57
|
+
{{- with .Values.securityContext }}
|
58
|
+
securityContext:
|
59
|
+
{{- toYaml . | nindent 8 }}
|
60
|
+
{{- end }}
|
61
|
+
{{- include "sidekiq-prometheus-exporter.podServiceAccountName" . | nindent 6 }}
|
62
|
+
{{- include "sidekiq-prometheus-exporter.podImagePullSecrets" . | nindent 6 }}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
apiVersion: v1
|
3
|
+
kind: Service
|
4
|
+
metadata:
|
5
|
+
name: {{ include "sidekiq-prometheus-exporter.fullname" . }}
|
6
|
+
labels:
|
7
|
+
{{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
|
8
|
+
spec:
|
9
|
+
type: {{ .Values.service.type }}
|
10
|
+
ports:
|
11
|
+
- port: {{ .Values.service.port }}
|
12
|
+
targetPort: metrics
|
13
|
+
protocol: TCP
|
14
|
+
name: metrics
|
15
|
+
selector:
|
16
|
+
app.kubernetes.io/name: {{ include "sidekiq-prometheus-exporter.name" . }}
|
17
|
+
app.kubernetes.io/instance: {{ .Release.Name }}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{{- if .Values.serviceMonitor.enabled }}
|
2
|
+
---
|
3
|
+
apiVersion: monitoring.coreos.com/v1
|
4
|
+
kind: ServiceMonitor
|
5
|
+
metadata:
|
6
|
+
name: {{ template "sidekiq-prometheus-exporter.fullname" . }}
|
7
|
+
namespace: {{ .Release.Namespace | quote }}
|
8
|
+
labels:
|
9
|
+
{{- include "sidekiq-prometheus-exporter.labels" . | nindent 4 }}
|
10
|
+
{{- with .Values.serviceMonitor.labels }}
|
11
|
+
{{- toYaml . | nindent 4 }}
|
12
|
+
{{- end }}
|
13
|
+
spec:
|
14
|
+
jobLabel: {{ template "sidekiq-prometheus-exporter.fullname" . }}
|
15
|
+
selector:
|
16
|
+
matchLabels:
|
17
|
+
{{- include "sidekiq-prometheus-exporter.labels" . | nindent 6 }}
|
18
|
+
namespaceSelector:
|
19
|
+
matchNames:
|
20
|
+
- {{ .Release.Namespace | quote }}
|
21
|
+
endpoints:
|
22
|
+
- port: metrics
|
23
|
+
path: {{ .Values.serviceMonitor.path }}
|
24
|
+
interval: {{ .Values.serviceMonitor.interval }}
|
25
|
+
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
|
26
|
+
{{- end }}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
---
|
2
|
+
## Default values for sidekiq-prometheus-exporter.
|
3
|
+
## This is a YAML-formatted file.
|
4
|
+
## Declare variables to be passed into your templates.
|
5
|
+
|
6
|
+
## Official docker image version
|
7
|
+
## ref: https://hub.docker.com/r/strech/sidekiq-prometheus-exporter/tags/
|
8
|
+
##
|
9
|
+
image:
|
10
|
+
registry: docker.io
|
11
|
+
repository: strech/sidekiq-prometheus-exporter
|
12
|
+
tag: 0.1.13
|
13
|
+
## Specify a imagePullPolicy
|
14
|
+
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
15
|
+
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
16
|
+
##
|
17
|
+
pullPolicy: IfNotPresent
|
18
|
+
## Optionally specify an array of imagePullSecrets.
|
19
|
+
## Secrets must be manually created in the namespace.
|
20
|
+
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
21
|
+
##
|
22
|
+
# pullSecrets:
|
23
|
+
# - myRegistryKeySecretName
|
24
|
+
|
25
|
+
## String to partially override Values.fullname template (will maintain the release name)
|
26
|
+
##
|
27
|
+
# nameOverride:
|
28
|
+
|
29
|
+
## String to fully override Values.fullname template
|
30
|
+
##
|
31
|
+
# fullnameOverride:
|
32
|
+
|
33
|
+
## Metrics exporter resource requests and limits
|
34
|
+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
35
|
+
##
|
36
|
+
# resources:
|
37
|
+
# limits:
|
38
|
+
# cpu: 100m
|
39
|
+
# memory: 128Mi
|
40
|
+
# requests:
|
41
|
+
# cpu: 100m
|
42
|
+
# memory: 128Mi
|
43
|
+
|
44
|
+
## Metrics exporter selectors and tolerations for pod assignment
|
45
|
+
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
|
46
|
+
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
|
47
|
+
##
|
48
|
+
# nodeSelector:
|
49
|
+
# tolerations:
|
50
|
+
|
51
|
+
## Metrics exporter pod/node affinity/anti-affinity
|
52
|
+
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
53
|
+
##
|
54
|
+
# affinity:
|
55
|
+
|
56
|
+
## Metrics exporter liveness and readiness probes
|
57
|
+
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
|
58
|
+
##
|
59
|
+
livenessProbe:
|
60
|
+
initialDelaySeconds: 5
|
61
|
+
periodSeconds: 5
|
62
|
+
timeoutSeconds: 5
|
63
|
+
successThreshold: 1
|
64
|
+
failureThreshold: 3
|
65
|
+
readinessProbe:
|
66
|
+
initialDelaySeconds: 5
|
67
|
+
periodSeconds: 5
|
68
|
+
timeoutSeconds: 5
|
69
|
+
successThreshold: 1
|
70
|
+
failureThreshold: 3
|
71
|
+
|
72
|
+
## Metrics exporter container port
|
73
|
+
##
|
74
|
+
containerPort: 9292
|
75
|
+
|
76
|
+
## Metrics exporter container Environment Variables
|
77
|
+
## ref: https://github.com/Strech/sidekiq-prometheus-exporter/tree/master/docker#supported-envs
|
78
|
+
##
|
79
|
+
# env:
|
80
|
+
# REDIS_HOST: "localhost"
|
81
|
+
# REDIS_PORT: 6379
|
82
|
+
# REDIS_URL: "..."
|
83
|
+
# REDIS_PASSWORD: "..."
|
84
|
+
# REDIS_DB_NUMBER: "0"
|
85
|
+
# REDIS_NAMESPACE: "..."
|
86
|
+
# REDIS_SENTINELS: "..."
|
87
|
+
# REDIS_SENTINEL_ROLE: "..."
|
88
|
+
# envFrom:
|
89
|
+
# type: configMapRef
|
90
|
+
# name: myConfigMapReference
|
91
|
+
|
92
|
+
## Metrics exporter Security Context
|
93
|
+
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context
|
94
|
+
##
|
95
|
+
# securityContext:
|
96
|
+
# runAsUser: 65534
|
97
|
+
|
98
|
+
## Metrics exporter pod Annotations
|
99
|
+
##
|
100
|
+
# podAnnotations:
|
101
|
+
|
102
|
+
## Metrics exporter Service properties
|
103
|
+
##
|
104
|
+
service:
|
105
|
+
## Metrics exporter Service type
|
106
|
+
##
|
107
|
+
type: ClusterIP
|
108
|
+
port: 80
|
109
|
+
|
110
|
+
serviceAccount:
|
111
|
+
## Specifies whether a ServiceAccount should be created
|
112
|
+
##
|
113
|
+
create: true
|
114
|
+
## The name of the ServiceAccount to use.
|
115
|
+
## If not set and create is true, a name is generated using the fullname template
|
116
|
+
##
|
117
|
+
# name:
|
118
|
+
|
119
|
+
rbac:
|
120
|
+
## Specifies whether RBAC resources should be created
|
121
|
+
##
|
122
|
+
create: false
|
123
|
+
|
124
|
+
## Enable this if you're using https://github.com/coreos/prometheus-operator
|
125
|
+
##
|
126
|
+
serviceMonitor:
|
127
|
+
enabled: false
|
128
|
+
path: "/metrics"
|
129
|
+
interval: 1m
|
130
|
+
scrapeTimeout: 10s
|
131
|
+
## Additional labels for the Service Monitor
|
132
|
+
##
|
133
|
+
# labels:
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
36
36
|
spec.add_development_dependency 'pry-byebug', '~> 3.6.0'
|
37
37
|
spec.add_development_dependency 'rack-test', '~> 1.1'
|
38
|
-
spec.add_development_dependency 'rake', '~>
|
38
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
39
39
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
40
40
|
spec.add_development_dependency 'rubocop', '~> 0.58'
|
41
41
|
spec.add_development_dependency 'rubocop-rspec', '~> 1.28.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-prometheus-exporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Fedorov
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '13.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '13.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,6 +172,7 @@ extensions: []
|
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
174
|
- ".codeclimate.yml"
|
175
|
+
- ".github/FUNDING.yml"
|
175
176
|
- ".gitignore"
|
176
177
|
- ".rspec"
|
177
178
|
- ".rubocop.yml"
|
@@ -183,12 +184,16 @@ files:
|
|
183
184
|
- Rakefile
|
184
185
|
- bin/console
|
185
186
|
- bin/setup
|
187
|
+
- docker/Dockerfile
|
188
|
+
- docker/README.md
|
189
|
+
- docker/config.ru
|
186
190
|
- examples/docker-compose.yml
|
187
191
|
- examples/metrics/Dockerfile
|
188
192
|
- examples/metrics/config.ru
|
189
193
|
- examples/prometheus/prometheus.yml
|
190
194
|
- examples/screenshot.png
|
191
|
-
- examples/sidekiq.json
|
195
|
+
- examples/sidekiq-dashboard.grafana-6.json
|
196
|
+
- examples/sidekiq-dashboard.grafana-7.json
|
192
197
|
- examples/sidekiq/Dockerfile
|
193
198
|
- examples/sidekiq/sidekiq.rb
|
194
199
|
- examples/sidekiq/sidekiq.yml
|
@@ -204,6 +209,18 @@ files:
|
|
204
209
|
- gemfiles/sidekiq_6.x.gemfile.lock
|
205
210
|
- gemfiles/sidekiq_head.gemfile
|
206
211
|
- gemfiles/sidekiq_head.gemfile.lock
|
212
|
+
- helm/sidekiq-prometheus-exporter/.helmignore
|
213
|
+
- helm/sidekiq-prometheus-exporter/Chart.yaml
|
214
|
+
- helm/sidekiq-prometheus-exporter/README.md
|
215
|
+
- helm/sidekiq-prometheus-exporter/templates/NOTES.txt
|
216
|
+
- helm/sidekiq-prometheus-exporter/templates/_helpers.tpl
|
217
|
+
- helm/sidekiq-prometheus-exporter/templates/clusterrole.yaml
|
218
|
+
- helm/sidekiq-prometheus-exporter/templates/clusterrolebinding.yaml
|
219
|
+
- helm/sidekiq-prometheus-exporter/templates/deployment.yaml
|
220
|
+
- helm/sidekiq-prometheus-exporter/templates/service.yaml
|
221
|
+
- helm/sidekiq-prometheus-exporter/templates/serviceaccount.yaml
|
222
|
+
- helm/sidekiq-prometheus-exporter/templates/servicemonitor.yaml
|
223
|
+
- helm/sidekiq-prometheus-exporter/values.yaml
|
207
224
|
- lib/sidekiq/prometheus/exporter.rb
|
208
225
|
- lib/sidekiq/prometheus/exporter/cron.rb
|
209
226
|
- lib/sidekiq/prometheus/exporter/exporters.rb
|
@@ -218,7 +235,7 @@ homepage: https://github.com/Strech/sidekiq-prometheus-exporter
|
|
218
235
|
licenses: []
|
219
236
|
metadata:
|
220
237
|
allowed_push_host: https://rubygems.org
|
221
|
-
post_install_message:
|
238
|
+
post_install_message:
|
222
239
|
rdoc_options: []
|
223
240
|
require_paths:
|
224
241
|
- lib
|
@@ -234,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
251
|
version: '0'
|
235
252
|
requirements: []
|
236
253
|
rubygems_version: 3.0.3
|
237
|
-
signing_key:
|
254
|
+
signing_key:
|
238
255
|
specification_version: 4
|
239
256
|
summary: Prometheus exporter for the Sidekiq
|
240
257
|
test_files: []
|