prometheus-splitwise-exporter 0.12__tar.gz → 0.12.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- prometheus_splitwise_exporter-0.12.1/PKG-INFO +11 -0
- prometheus_splitwise_exporter-0.12.1/prometheus_splitwise_exporter.egg-info/PKG-INFO +11 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/prometheus_splitwise_exporter.egg-info/SOURCES.txt +1 -10
- prometheus_splitwise_exporter-0.12.1/pyproject.toml +21 -0
- prometheus_splitwise_exporter-0.12.1/setup.cfg +4 -0
- prometheus-splitwise-exporter-0.12/.github/workflows/container.yml +0 -42
- prometheus-splitwise-exporter-0.12/.github/workflows/disperse.yml +0 -24
- prometheus-splitwise-exporter-0.12/.gitignore +0 -4
- prometheus-splitwise-exporter-0.12/Dockerfile +0 -4
- prometheus-splitwise-exporter-0.12/MANIFEST +0 -4
- prometheus-splitwise-exporter-0.12/Makefile +0 -5
- prometheus-splitwise-exporter-0.12/PKG-INFO +0 -9
- prometheus-splitwise-exporter-0.12/config.json.example +0 -1
- prometheus-splitwise-exporter-0.12/disperse.conf +0 -7
- prometheus-splitwise-exporter-0.12/grafana-dashboard.json +0 -141
- prometheus-splitwise-exporter-0.12/prometheus_splitwise_exporter.egg-info/PKG-INFO +0 -9
- prometheus-splitwise-exporter-0.12/setup.cfg +0 -20
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/COPYING +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/MANIFEST.in +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/README.rst +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/prometheus-splitwise-exporter.py +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/prometheus_splitwise_exporter.egg-info/dependency_links.txt +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/prometheus_splitwise_exporter.egg-info/requires.txt +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/prometheus_splitwise_exporter.egg-info/top_level.txt +0 -0
- {prometheus-splitwise-exporter-0.12 → prometheus_splitwise_exporter-0.12.1}/setup.py +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: prometheus-splitwise-exporter
|
|
3
|
+
Version: 0.12.1
|
|
4
|
+
Maintainer-email: Jelmer Vernooij <jelmer@jelmer.uk>
|
|
5
|
+
License: Apachev2
|
|
6
|
+
Project-URL: Homepage, https://github.com/jelmer/prometheus-splitwise-exporter
|
|
7
|
+
Project-URL: Repository, https://github.com/jelmer/prometheus-splitwise-exporter
|
|
8
|
+
License-File: COPYING
|
|
9
|
+
Requires-Dist: splitwise
|
|
10
|
+
Requires-Dist: prometheus-client
|
|
11
|
+
Dynamic: license-file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: prometheus-splitwise-exporter
|
|
3
|
+
Version: 0.12.1
|
|
4
|
+
Maintainer-email: Jelmer Vernooij <jelmer@jelmer.uk>
|
|
5
|
+
License: Apachev2
|
|
6
|
+
Project-URL: Homepage, https://github.com/jelmer/prometheus-splitwise-exporter
|
|
7
|
+
Project-URL: Repository, https://github.com/jelmer/prometheus-splitwise-exporter
|
|
8
|
+
License-File: COPYING
|
|
9
|
+
Requires-Dist: splitwise
|
|
10
|
+
Requires-Dist: prometheus-client
|
|
11
|
+
Dynamic: license-file
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
.gitignore
|
|
2
1
|
COPYING
|
|
3
|
-
Dockerfile
|
|
4
|
-
MANIFEST
|
|
5
2
|
MANIFEST.in
|
|
6
|
-
Makefile
|
|
7
3
|
README.rst
|
|
8
|
-
config.json.example
|
|
9
|
-
disperse.conf
|
|
10
|
-
grafana-dashboard.json
|
|
11
4
|
prometheus-splitwise-exporter.py
|
|
12
|
-
|
|
5
|
+
pyproject.toml
|
|
13
6
|
setup.py
|
|
14
|
-
.github/workflows/container.yml
|
|
15
|
-
.github/workflows/disperse.yml
|
|
16
7
|
prometheus_splitwise_exporter.egg-info/PKG-INFO
|
|
17
8
|
prometheus_splitwise_exporter.egg-info/SOURCES.txt
|
|
18
9
|
prometheus_splitwise_exporter.egg-info/dependency_links.txt
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.2"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "prometheus-splitwise-exporter"
|
|
7
|
+
version = "0.12.1"
|
|
8
|
+
maintainers = [{name = "Jelmer Vernooij", email = "jelmer@jelmer.uk"}]
|
|
9
|
+
license = {text = "Apachev2"}
|
|
10
|
+
dependencies = [
|
|
11
|
+
"splitwise",
|
|
12
|
+
"prometheus-client",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[project.urls]
|
|
16
|
+
Homepage = "https://github.com/jelmer/prometheus-splitwise-exporter"
|
|
17
|
+
Repository = "https://github.com/jelmer/prometheus-splitwise-exporter"
|
|
18
|
+
|
|
19
|
+
[tool.setuptools]
|
|
20
|
+
script-files = ["prometheus-splitwise-exporter.py"]
|
|
21
|
+
include-package-data = false
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
name: Create and publish a Docker image
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
release:
|
|
5
|
-
types: [created]
|
|
6
|
-
|
|
7
|
-
env:
|
|
8
|
-
REGISTRY: ghcr.io
|
|
9
|
-
IMAGE_NAME: ${{ github.repository }}
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
build-and-push-image:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
permissions:
|
|
15
|
-
contents: read
|
|
16
|
-
packages: write
|
|
17
|
-
|
|
18
|
-
steps:
|
|
19
|
-
- name: Checkout repository
|
|
20
|
-
uses: actions/checkout@v2
|
|
21
|
-
|
|
22
|
-
- name: Log in to the Container registry
|
|
23
|
-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
|
24
|
-
with:
|
|
25
|
-
registry: ${{ env.REGISTRY }}
|
|
26
|
-
username: ${{ github.actor }}
|
|
27
|
-
password: ${{ secrets.GITHUB_TOKEN }}
|
|
28
|
-
|
|
29
|
-
- name: Extract metadata (tags, labels) for Docker
|
|
30
|
-
id: meta
|
|
31
|
-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
|
32
|
-
with:
|
|
33
|
-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}{% raw %}
|
|
34
|
-
|
|
35
|
-
- name: Build and push Docker image
|
|
36
|
-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
37
|
-
with:
|
|
38
|
-
context: .
|
|
39
|
-
push: true
|
|
40
|
-
tags: |
|
|
41
|
-
ghcr.io/jelmer/prometheus-splitwise-exporter:latest
|
|
42
|
-
labels: ${{ steps.meta.outputs.labels }}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Disperse configuration
|
|
3
|
-
|
|
4
|
-
"on":
|
|
5
|
-
- push
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
build:
|
|
9
|
-
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v2
|
|
14
|
-
- name: Set up Python
|
|
15
|
-
uses: actions/setup-python@v2
|
|
16
|
-
- name: Install dependencies
|
|
17
|
-
run: |
|
|
18
|
-
sudo apt install protobuf-compiler
|
|
19
|
-
- name: Install disperse
|
|
20
|
-
run: |
|
|
21
|
-
pip install git+https://github.com/jelmer/disperse
|
|
22
|
-
- name: Validate disperse.conf
|
|
23
|
-
run: |
|
|
24
|
-
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python disperse validate .
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: prometheus-splitwise-exporter
|
|
3
|
-
Version: 0.12
|
|
4
|
-
Home-page: https://github.com/jelmer/prometheus-splitwise-exporter
|
|
5
|
-
Maintainer: Jelmer Vernooij
|
|
6
|
-
Maintainer-email: jelmer@jelmer.uk
|
|
7
|
-
License: Apachev2
|
|
8
|
-
Project-URL: Repository, https://github.com/jelmer/prometheus-splitwise-exporter
|
|
9
|
-
License-File: COPYING
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"OAuthConfig":{"ConsumerKey":"","ConsumerSecret":"","CallbackURL":"localhost","Endpoint":{"RequestTokenURL":"https://secure.splitwise.com/api/v3.0/get_request_token","AuthorizeURL":"https://secure.splitwise.com/oauth/authorize","AccessTokenURL":"https://secure.splitwise.com/oauth/access_token"},"Signer":null},"Token":{"Token":"","TokenSecret":""}}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"__inputs": [
|
|
3
|
-
{
|
|
4
|
-
"name": "DS_PROMETHEUS",
|
|
5
|
-
"label": "Prometheus",
|
|
6
|
-
"description": "",
|
|
7
|
-
"type": "datasource",
|
|
8
|
-
"pluginId": "prometheus",
|
|
9
|
-
"pluginName": "Prometheus"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"annotations": {
|
|
13
|
-
"list": [
|
|
14
|
-
{
|
|
15
|
-
"builtIn": 1,
|
|
16
|
-
"datasource": "-- Grafana --",
|
|
17
|
-
"enable": true,
|
|
18
|
-
"hide": true,
|
|
19
|
-
"iconColor": "rgba(0, 211, 255, 1)",
|
|
20
|
-
"name": "Annotations & Alerts",
|
|
21
|
-
"type": "dashboard"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"editable": true,
|
|
26
|
-
"gnetId": null,
|
|
27
|
-
"graphTooltip": 0,
|
|
28
|
-
"id": null,
|
|
29
|
-
"links": [],
|
|
30
|
-
"panels": [
|
|
31
|
-
{
|
|
32
|
-
"aliasColors": {},
|
|
33
|
-
"bars": false,
|
|
34
|
-
"dashLength": 10,
|
|
35
|
-
"dashes": false,
|
|
36
|
-
"datasource": "${DS_PROMETHEUS}",
|
|
37
|
-
"fieldConfig": {
|
|
38
|
-
"defaults": {},
|
|
39
|
-
"overrides": []
|
|
40
|
-
},
|
|
41
|
-
"fill": 1,
|
|
42
|
-
"fillGradient": 0,
|
|
43
|
-
"gridPos": {
|
|
44
|
-
"h": 9,
|
|
45
|
-
"w": 12,
|
|
46
|
-
"x": 0,
|
|
47
|
-
"y": 0
|
|
48
|
-
},
|
|
49
|
-
"hiddenSeries": false,
|
|
50
|
-
"id": 2,
|
|
51
|
-
"legend": {
|
|
52
|
-
"avg": false,
|
|
53
|
-
"current": false,
|
|
54
|
-
"max": false,
|
|
55
|
-
"min": false,
|
|
56
|
-
"show": true,
|
|
57
|
-
"total": false,
|
|
58
|
-
"values": false
|
|
59
|
-
},
|
|
60
|
-
"lines": true,
|
|
61
|
-
"linewidth": 1,
|
|
62
|
-
"nullPointMode": "null",
|
|
63
|
-
"options": {
|
|
64
|
-
"alertThreshold": true
|
|
65
|
-
},
|
|
66
|
-
"percentage": false,
|
|
67
|
-
"pluginVersion": "7.5.11",
|
|
68
|
-
"pointradius": 2,
|
|
69
|
-
"points": false,
|
|
70
|
-
"renderer": "flot",
|
|
71
|
-
"seriesOverrides": [],
|
|
72
|
-
"spaceLength": 10,
|
|
73
|
-
"stack": false,
|
|
74
|
-
"steppedLine": false,
|
|
75
|
-
"targets": [
|
|
76
|
-
{
|
|
77
|
-
"exemplar": true,
|
|
78
|
-
"expr": "gbp_balance{exported_job=\"prometheus-splitwise-exporter\"}",
|
|
79
|
-
"interval": "",
|
|
80
|
-
"legendFormat": "{{ email }}",
|
|
81
|
-
"refId": "A"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"thresholds": [],
|
|
85
|
-
"timeRegions": [],
|
|
86
|
-
"title": "Balance (GBP)",
|
|
87
|
-
"tooltip": {
|
|
88
|
-
"shared": true,
|
|
89
|
-
"sort": 0,
|
|
90
|
-
"value_type": "individual"
|
|
91
|
-
},
|
|
92
|
-
"type": "graph",
|
|
93
|
-
"xaxis": {
|
|
94
|
-
"buckets": null,
|
|
95
|
-
"mode": "time",
|
|
96
|
-
"name": null,
|
|
97
|
-
"show": true,
|
|
98
|
-
"values": []
|
|
99
|
-
},
|
|
100
|
-
"yaxes": [
|
|
101
|
-
{
|
|
102
|
-
"$$hashKey": "object:49",
|
|
103
|
-
"format": "currencyGBP",
|
|
104
|
-
"label": null,
|
|
105
|
-
"logBase": 1,
|
|
106
|
-
"max": null,
|
|
107
|
-
"min": null,
|
|
108
|
-
"show": true
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"$$hashKey": "object:50",
|
|
112
|
-
"format": "short",
|
|
113
|
-
"label": null,
|
|
114
|
-
"logBase": 1,
|
|
115
|
-
"max": null,
|
|
116
|
-
"min": null,
|
|
117
|
-
"show": true
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"yaxis": {
|
|
121
|
-
"align": false,
|
|
122
|
-
"alignLevel": null
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"schemaVersion": 27,
|
|
127
|
-
"style": "dark",
|
|
128
|
-
"tags": [],
|
|
129
|
-
"templating": {
|
|
130
|
-
"list": []
|
|
131
|
-
},
|
|
132
|
-
"time": {
|
|
133
|
-
"from": "now-6h",
|
|
134
|
-
"to": "now"
|
|
135
|
-
},
|
|
136
|
-
"timepicker": {},
|
|
137
|
-
"timezone": "",
|
|
138
|
-
"title": "Splitwise",
|
|
139
|
-
"uid": null,
|
|
140
|
-
"version": 0
|
|
141
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: prometheus-splitwise-exporter
|
|
3
|
-
Version: 0.12
|
|
4
|
-
Home-page: https://github.com/jelmer/prometheus-splitwise-exporter
|
|
5
|
-
Maintainer: Jelmer Vernooij
|
|
6
|
-
Maintainer-email: jelmer@jelmer.uk
|
|
7
|
-
License: Apachev2
|
|
8
|
-
Project-URL: Repository, https://github.com/jelmer/prometheus-splitwise-exporter
|
|
9
|
-
License-File: COPYING
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
[metadata]
|
|
2
|
-
name = prometheus-splitwise-exporter
|
|
3
|
-
version = 0.12
|
|
4
|
-
maintainer = Jelmer Vernooij
|
|
5
|
-
maintainer_email = jelmer@jelmer.uk
|
|
6
|
-
url = https://github.com/jelmer/prometheus-splitwise-exporter
|
|
7
|
-
license = Apachev2
|
|
8
|
-
project_urls =
|
|
9
|
-
Repository=https://github.com/jelmer/prometheus-splitwise-exporter
|
|
10
|
-
|
|
11
|
-
[options]
|
|
12
|
-
scripts = prometheus-splitwise-exporter.py
|
|
13
|
-
install_requires =
|
|
14
|
-
splitwise
|
|
15
|
-
prometheus-client
|
|
16
|
-
|
|
17
|
-
[egg_info]
|
|
18
|
-
tag_build =
|
|
19
|
-
tag_date = 0
|
|
20
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|