Comments (10)
Okay my bad. I tried with a count(*)
query and the limit had no effects. Which makes senses I guess.
from steampipe-plugin-scalingo.
HI @e-gineer Thanks for your sugggestions!
I have done most of them except the last one, I need to think of a way to query more if needed.
About the regions, there is only 2 available regions right now on scalingo, but the second one (osc-secnum) is only available if you request it. I do have have an access and I successfully tried it.
from steampipe-plugin-scalingo.
ah - makes sense on the regions, I hadn’t enabled the second one.
Let us know if you have questions about the use of limit, happy to discuss. Not a blocker I don’t think, but makes a big difference if you have a lot of event data.
from steampipe-plugin-scalingo.
I'm looking to implement the limit features. Is there is a way to get the value of the limit parameter of the sql query? I think it is useful to be able to get old data if needed.
from steampipe-plugin-scalingo.
Yes! The limit from the query is available in the query context. Example:
from steampipe-plugin-scalingo.
I must be doing something wrong. I got a nil result. Let's try again.
from steampipe-plugin-scalingo.
oh? Happy to test out a branch of that will be helpful.
from steampipe-plugin-scalingo.
I just pushed the branch limit
: https://github.com/francois2metz/steampipe-plugin-scalingo/compare/limit
from steampipe-plugin-scalingo.
I used the limit
branch to do this query:
select * from scalingo_app_event where app_name = 'nw-test-01' limit 5
and am seeing the Limit coming through in the logs?
37213 2021-09-10 13:05:50.465 GMT [14614] LOG: statement: select * from scalingo_app_event where app_name = 'nw-test-01' limit 5
37214 2021-09-10T09:05:50.468-0400 [WARN] plugin.steampipe-plugin-scalingo.plugin: [WARN] MaxResult: %!s(int64=5)=0xc003bfb738
So, looks like it is there to me?
from steampipe-plugin-scalingo.
Thanks for your help. I have done everything on your list. I will apply some of theses suggestions to my others plugins ;).
from steampipe-plugin-scalingo.
Related Issues (3)
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 steampipe-plugin-scalingo.