pcdshub / archstats Goto Github PK
View Code? Open in Web Editor NEWEPICS Archiver Appliance statistics IOC
Home Page: https://pcdshub.github.io/archstats/
License: Other
EPICS Archiver Appliance statistics IOC
Home Page: https://pcdshub.github.io/archstats/
License: Other
Dependencies and sphinx config need updating.
Old: https://pypi.org/project/doctr-versions-menu/
New: https://pypi.org/project/docs-versions-menu/
Repository: https://github.com/goerz/docs_versions_menu/
Minimum interval of 1 minute, as that's the rate the archiver is polled at.
Optimal index sizing is on the order of 1GB-10GB. Archstats daily indices are likely on the order of 1MB.
Elasticsearch error: no such index [archiver_appliance_metrics_pscaa01-2020.12.03]
- which is true, but it shouldn't be checking for tomorrow's index just yetSeems likely to be an elasticsearch misconfiguration, but due to permissions I can't even take a look at them for now.
This appears to manifest itself in grafana, most annoyingly, as the following:
The fields no longer get listed - but if you know the full name, typing it still works.
estimated_bytes_transferred_in_etl0_to1_mb
became
estimated_bytes_transferred_in_etl0_to1_gb
The appliance reports: PV count, connected PV count.
It's useful to calculate the percentage of connected PVs, which is possible in Grafana with a transform.
The transform can be plotted for a status dashboard, but it's not possible to use transforms with alerts yet. This means that we can only set an absolute PV count threshold, which is far from ideal.
Grafana supports multi-target index-*
configuration for elasticsearch data sources.
https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-index.html
May be worth replicating this for the database-backed PVGroups.
Currently:
Consider:
caproto-agnostic asyncio application queries archiver appliance
caproto PVGroup watches elasticsearch database for updates
elasticsearch doesn't seem to like documents with math.nan
for floating point values; need to look into this more.
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.