denbi / os_credits Goto Github PK
View Code? Open in Web Editor NEWProcess project usage metrics delivered via InfluxDB
Process project usage metrics delivered via InfluxDB
two scripts: 1: set current credits for specific projects to 0 2: get credits history older than a chosen date and reset current credits in perun to this date for specific projects
possible bug
test if image is running, e.g. with extra health api endpoint
which calls are send to container should be logged
not building because version need to be set in Dockerfile (???)
one project suddenly started from 0 used credits
Unhandled exception.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/os_credits/cli.py", line 48, in main
from os_credits.main import create_app
File "/usr/local/lib/python3.10/site-packages/os_credits/main.py", line 15, in
from aiohttp_jinja2 import setup
File "/usr/local/lib/python3.10/site-packages/aiohttp_jinja2/init.py", line 5, in
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/init.py)
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error: expecting ':' near ble" "true
we currently use aioinflux which is not compatible with new influxdb 2.0 api
emails should be send (to [email protected] first)
-- variables to docker-compose
certififi error
TypeError: show_series() got an unexpected keyword argument 'db'
why 503 - forbidden?
load credits per hour from config
when releasing, one needs to adjust the WHEEL_NAME argument and version in pyproject.toml to same version
if we can adjust weighting somehow
delete everything younger than a date for a list of projects or for a compute center. auth with secret key
It would be useful to have a switch that disables all notifications. IMO disabled notifications should be the default.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
docker-compose.yml
timescale/timescaledb 2.12.2-pg14
Dockerfile
python 3.10.4-alpine
python 3.10.4-alpine
Dockerfile.dev
python 3.10.4-alpine
.github/workflows/build-image.yml
rokroskar/workflow-run-cleanup-action v0.3.3
actions/checkout v4.1.1
Wandalen/wretry.action v1.3.0
.github/workflows/codeql-analysis.yml
actions/checkout v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
.github/workflows/docker.yml
rokroskar/workflow-run-cleanup-action v0.3.3
actions/checkout v4.1.1
docker/setup-buildx-action v3
docker/login-action v3
docker/build-push-action v5
.github/workflows/releaseDocker.yml
docker/setup-buildx-action v3
docker/login-action v3
docker/build-push-action v5
pyproject.toml
poetry >=1.1.4
pyproject.toml
python 3.10.4
aiohttp 3.9.1
aiohttp-swagger 1.0.16
aiohttp_jinja2 1.5.1
aiosmtplib 2.0.2
asyncpg 0.29.0
SQLAlchemy 1.4.51
alembic 1.12.1
psycopg2 2.9.9
aiohttp-devtools 1.1.2
pre-commit 3.6.0
black 23.12.1
sphinx-autodoc-typehints 1.25.2
sphinx 7.2.6
sphinxcontrib-trio 1.1.2
lxml 4.9.4
sphinxcontrib-programoutput 0.17
docker-compose 1.29.2
promscale + timescaledb instead of influxdb
we do not want to be dependend on openstack cc
we only want to check/bill specific projects with os_credits
check knowledge with ewgenij
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.