question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do you create dynamic URL (parameter) rules?

See original GitHub issue

How do you create dynamic URL rules? For example, I have a URL:

POST example.com/user/{id}/something

where {id} changes per user. I’d like to limit it to 1 call per second per user id.

Should the rule look like this or what?

  {
    "Endpoint": "post:/user/*/something",
    "Period": "1s",
    "Limit": 1
  }

I couldn’t find anything in the docs. Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
oatsodacommented, Mar 12, 2018

I think I am asking for the same as #13 which is the inverse of what @kspearrin is asking for.

0reactions
cristipufucommented, Feb 17, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Specifications for URL dynamic parameters
URL parameters can help you understand the effectiveness of your ads. You can input your own custom URL parameters or you can use...
Read more >
Personalizing with dynamic URL parameters
Creating a Personalized link (URL parameters) · Go to Booking pages in the bar on the left → Booking page → Share &...
Read more >
Manually constructing a Dynamic Link URL - Firebase
Dynamic Link parameters ; Debugging a URL; Next steps ... You can create a Dynamic Link by manually constructing a URL with the...
Read more >
A Beginner's Guide to URL Parameters
URL parameters (also known as query strings or URL query parameters) are elements inserted in your URLs to help you filter and organize...
Read more >
Dynamic URL parameter - Search Ads 360 Help
A URL parameter that specifies a placeholder instead of a specific value. When a user clicks an ad, the engine replaces the placeholder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found