/plushcap/analysis/ngrok/ngrok-post-traffic-policy-string

Why and how we ‘stringified’ your Traffic Policy rules

What's this blog post about?

When releasing the `Traffic Policy` feature at the beginning of the year, it was noticed that configuring it with the agent or SDKs had a "papercut" due to its highly typed and structured policy configuration requirements. To address this, the design was updated to use strings instead of typed structures for policy configurations, making it easier to configure correctly and reducing maintenance and breakage issues. The new string format allows for more flexibility and consistency in configuring traffic policies, while still supporting older configurations through server-side validation.

Company
Ngrok

Date published
Dec. 12, 2024

Author(s)
Ryan Grant

Word count
1109

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.