igalshilman opened a new pull request #274:
URL: https://github.com/apache/flink-statefun/pull/274


   ### This PR introduces custom metrics to the embedded SDK.
   
   
   ```java
   public interface FunctionTypeScopedMetrics {
   
     /**
      * Retrieves (or creates) a counter metric with this name.
      *
      * @param name a metric name
      * @return a counter.
      */
     Counter counter(String name);
   }
   ```
   
   And
   
   ```java
   public interface RouterMetrics {
   
     /**
      * Gets (or creates) a Counter with the given name.
      *
      * @param name the counter name
      * @return a counter
      */
     Counter counter(String name);
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to