Comments (6)
To clarify all of the above is supposed to get eaten by a single input "location". Its not different parameters, they are all examples the user should be able to pass to a single input and get back a resolved json of correctly formatted location parameters that the /measurement endpoint can process.
So its a conversion of 1 magic input to many typed inputs
from globalping.
Summary of internal discussion:
- Build additional probe client metadata object
index
that will contain all the possible values user can do "magic" queries over. - Maintain manual aliases for some locations like
United States of America -> USA
- Simulate partial match using
String.contains()
filter
New probe client metadata object:
{
"location": {
"continent": "EU",
"region": "western-europe"
"country": "UK",
"state": "TX"
"city": "frankfurt at main"
"isp": "Amazon.com ISP Provider"
},
"index": [ "europe", "united kingdom", "western europe", "texas", "frankfurt at main", "amazon.com isp provider" ],
}
from globalping.
Manual aliases we should add:
- USA = us
- England = uk
- AWS = amazon.com inc.
- united states = us
- vultr = choopa llc
- other?
from globalping.
- other?
I don' think we discussed that - do we want to include both ISO and full state/country/continent formats?
from globalping.
- GB = united kingdom
- northern ireland = GB
from globalping.
do we want to include both ISO and full state/country/continent formats
Yes, the user should be able to write "Germany" and it should automatically convert to "DE". I have it as an example input in the task. So all those inputs should work correctly
from globalping.
Related Issues (20)
- Optimized probe listing endpoints
- Performance optimizations list
- Reduce the number of progress messages HOT 4
- Store the initial probe details regardless of ACK HOT 2
- Ignore some HTTP errors
- Use Lua scripts for redis key counting HOT 1
- lower QA requirements HOT 5
- Optimize GET operations HOT 6
- Move IP ranges and blacklist files into "data" directory
- Remove "duplicate" MTR hops HOT 2
- Limits endpoint
- ifttt service
- Zapier integration
- Terraform provider
- Update perf test script
- Setting limit to higher than available probes return data from other regions HOT 8
- Create a lua script to handle measurement result
- Lua in places with multiple parallel redis operations: HOT 2
- Custom resolver not included in error responses HOT 4
- HTTP size handling HOT 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 globalping.