Comments (8)
There was a bug, so only env var (PGPASSWORD) worked. Try now with the latest version! (2.5.6)
from locust-plugins.
Thanks, Now I am seeing TimescaleListener is removed, how can I invoke my own postgresDB and send locust success results to Postgres.
from locust-plugins.
Its not removed, just renamed & reworked. Follow the instructions here https://github.com/SvenskaSpel/locust-plugins/tree/master/locust_plugins/timescale
from locust-plugins.
if I want to send stats to my own DB instance, can I do like below.
**locust --timescale --headless -f LocustScript.py --pghost=localhost --pguser=admin --pgpassword=admin
While running above code I am getting below error.
Could not connect to postgres. Use standard postgres env vars or --pg* command line options to specify where to report locust samples (https://www.postgresql.org/docs/11/libpq-envars.html)
[2022-03-09 11:10:58,231] ashanmu-ltmzzer.internal.salesforce.com/ERROR/root: FATAL: password authentication failed for user "**mysystemname**"
Any other env variables do I need to pass? I am using same credentials via psycopg2.connect, its working fine
from locust-plugins.
Doh! I had the same error for pghost & pguser. Also added --pgport and --pgdatabase while I was at it... Try it now (2.5.9)
from locust-plugins.
Thanks for fixing this. Now I am not getting any error. Not sure its connected to DB or not. locust stats not sent to DB. even I give wrong password while running command, no error thrown. Also if I want to send my success stats to my own DB, do I need to override any method in my locust file? I am following the instructions here,https://github.com/SvenskaSpel/locust-plugins/tree/master/locust_plugins/timescale, but I want send locust results to my own DB and Grafana not needed. How can I do that using this plugin
from locust-plugins.
Sorry, thats all the time I have for now. If you want to, then keep digging and send me some more details (e.g. Is the grafana link being printed etc)
from locust-plugins.
I am looking to send locust result statistics to my own Postgres DB, this is the only part I am trying to do. Reason behind that, we want to store all the historical data of locust results to compare against.
from locust-plugins.
Related Issues (20)
- Paho-MQTT raises BAD_LENGTH exception HOT 4
- Attribute Error: 'Timescale' object has no attribute '_run_id' HOT 1
- psychogreen is not installed when trying to run locust test with timescale
- Issues with running Playwright scripts. HOT 2
- can not start locust and write data to Timescaledb HOT 6
- Can the postgres field testplan be customized? HOT 1
- Add exemple about "extend the web UI to allow you to show custom data along side the built-in Locust stats" HOT 2
- Can the postgres field testplan be customized from a locustfile during run-time? HOT 4
- Browser is not starting in headless mode HOT 1
- AMQP support HOT 3
- 404 in docs HOT 1
- not able to launch browser with playwright example HOT 22
- how to stop locust when Using Locust as a library HOT 18
- SocketIOUser send method supports specific subscribe request #2616 HOT 3
- Does locust support thick-client application? HOT 4
- Add Yandex-Tank visualization HOT 2
- Run Locust with Yandex Tank visualization HOT 4
- playwright plugin does not return data to the locust frontend HOT 12
- [MQTT] locust-plugins is incompatible with paho-mqtt >= 2 HOT 1
- Gret the "Number of user" defined in the web gui HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locust-plugins.