flexmetric 0.4.1__tar.gz → 0.4.2__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.
- {flexmetric-0.4.1 → flexmetric-0.4.2}/PKG-INFO +8 -4
- {flexmetric-0.4.1 → flexmetric-0.4.2}/README.md +7 -3
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric.egg-info/PKG-INFO +8 -4
- {flexmetric-0.4.1 → flexmetric-0.4.2}/setup.py +1 -1
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/__init__.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/config/__init__.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/config/configuration.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/file_recognition/__init__.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/file_recognition/exec_file.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/logging_module/__init__.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/logging_module/logger.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/metric_process/__init__.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/metric_process/database_processing.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/metric_process/expiring_queue.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/metric_process/process_commands.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/metric_process/prometheus_agent.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric/metric_process/views.py +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric.egg-info/SOURCES.txt +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric.egg-info/dependency_links.txt +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric.egg-info/entry_points.txt +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric.egg-info/requires.txt +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/flexmetric.egg-info/top_level.txt +0 -0
- {flexmetric-0.4.1 → flexmetric-0.4.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: flexmetric
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.2
|
4
4
|
Summary: A secure flexible Prometheus exporter for commands, databases, functions, and scripts.
|
5
5
|
Home-page: https://github.com/nikhillingadhal1999/flexmetric
|
6
6
|
Author: Nikhil Lingadhal
|
@@ -118,9 +118,13 @@ curl -X POST http://localhost:5000/update_metric \
|
|
118
118
|
-H "Content-Type: application/json" \
|
119
119
|
-d '{
|
120
120
|
"result": [
|
121
|
-
{
|
121
|
+
{
|
122
|
+
"label": ["cpu", "core_1"],
|
123
|
+
"value": 42.5
|
124
|
+
}
|
122
125
|
],
|
123
|
-
"labels": ["
|
126
|
+
"labels": ["metric_type", "core"],
|
127
|
+
"main_label": "cpu_usage_metric"
|
124
128
|
}'
|
125
129
|
|
126
130
|
```
|
@@ -138,7 +142,7 @@ https://localhost:5000/update_metric
|
|
138
142
|
|
139
143
|
### Submitting a Metric to the Flask API
|
140
144
|
```bash
|
141
|
-
curl -X POST
|
145
|
+
curl -k -X POST https://localhost:5000/update_metric \
|
142
146
|
-H "Content-Type: application/json" \
|
143
147
|
-d '{
|
144
148
|
"result": [
|
@@ -85,9 +85,13 @@ curl -X POST http://localhost:5000/update_metric \
|
|
85
85
|
-H "Content-Type: application/json" \
|
86
86
|
-d '{
|
87
87
|
"result": [
|
88
|
-
{
|
88
|
+
{
|
89
|
+
"label": ["cpu", "core_1"],
|
90
|
+
"value": 42.5
|
91
|
+
}
|
89
92
|
],
|
90
|
-
"labels": ["
|
93
|
+
"labels": ["metric_type", "core"],
|
94
|
+
"main_label": "cpu_usage_metric"
|
91
95
|
}'
|
92
96
|
|
93
97
|
```
|
@@ -105,7 +109,7 @@ https://localhost:5000/update_metric
|
|
105
109
|
|
106
110
|
### Submitting a Metric to the Flask API
|
107
111
|
```bash
|
108
|
-
curl -X POST
|
112
|
+
curl -k -X POST https://localhost:5000/update_metric \
|
109
113
|
-H "Content-Type: application/json" \
|
110
114
|
-d '{
|
111
115
|
"result": [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: flexmetric
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.2
|
4
4
|
Summary: A secure flexible Prometheus exporter for commands, databases, functions, and scripts.
|
5
5
|
Home-page: https://github.com/nikhillingadhal1999/flexmetric
|
6
6
|
Author: Nikhil Lingadhal
|
@@ -118,9 +118,13 @@ curl -X POST http://localhost:5000/update_metric \
|
|
118
118
|
-H "Content-Type: application/json" \
|
119
119
|
-d '{
|
120
120
|
"result": [
|
121
|
-
{
|
121
|
+
{
|
122
|
+
"label": ["cpu", "core_1"],
|
123
|
+
"value": 42.5
|
124
|
+
}
|
122
125
|
],
|
123
|
-
"labels": ["
|
126
|
+
"labels": ["metric_type", "core"],
|
127
|
+
"main_label": "cpu_usage_metric"
|
124
128
|
}'
|
125
129
|
|
126
130
|
```
|
@@ -138,7 +142,7 @@ https://localhost:5000/update_metric
|
|
138
142
|
|
139
143
|
### Submitting a Metric to the Flask API
|
140
144
|
```bash
|
141
|
-
curl -X POST
|
145
|
+
curl -k -X POST https://localhost:5000/update_metric \
|
142
146
|
-H "Content-Type: application/json" \
|
143
147
|
-d '{
|
144
148
|
"result": [
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="flexmetric",
|
5
|
-
version="0.4.
|
5
|
+
version="0.4.2",
|
6
6
|
author="Nikhil Lingadhal",
|
7
7
|
description="A secure flexible Prometheus exporter for commands, databases, functions, and scripts.",
|
8
8
|
long_description=open("README.md").read(),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|