Below you will find pages that utilize the taxonomy term “SES”
Posts
PyLa-Mail
Send email with Python, AWS Lambda Use case: We’ve setup a static website with a simple contact form. We could use something like Formspree.io to handle the posted email form to forward the message to us, however, we would rather handle our own email relay than send it through a 3rd party.
We want CORS and a custom domain used to prevent cross site script posting messages and use throttling to prevent getting flooded with messages.
Posts
Prometheus with Java
Using Prometheus with Java in a Jersey project Step 1, add the dependency to your project. If you’re using maven, add the dependency:
<dependency> <groupId>io.prometheus</groupId> <artifactId>simpleclient_servlet</artifactId> <version>0.0.6</version> </dependency> Step 2, create a class and register some metrics. Here I have a summary and some counters:
public class Metrics { public static final Summary requestLatency = Summary.build() .name("requests_latency_seconds") .help("Request latency in seconds.").register(); public static final Counter requestFailures = Counter.