Home / Companies / Ngrok / Blog / Post Details
Content Deep Dive

Developer's guide: Manage traffic with CEL expressions and connection variables

Blog post from Ngrok

Post Details
Company
Date Published
Author
Joel Hans
Word Count
983
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

ngrok's Traffic Policy Module uses Common Expression Language (CEL) variables to help developers create policies that shape or manipulate traffic based on information embedded within every connection, request, and response that passes through the endpoint. Connection variables contain information about the raw connection between a client and the ngrok endpoint, including geographic origin, TLS usage, and connection timestamp. These variables can be used to target specific traffic and dynamically apply policies, such as filtering connections by IP address or geo-based location, and interpolating content into upstream headers or logs. The module also allows developers to create custom responses during planned maintenance using a combination of CEL expressions and connection variables.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 2 1,274 169 70 -11%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.