You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by GitBox <gi...@apache.org> on 2019/09/13 09:39:04 UTC

[GitHub] [tomee] cchacin commented on a change in pull request #568: [TOMEE-2679] Translate MicroProfile Metrics Gauge Example to Spanish

cchacin commented on a change in pull request #568: [TOMEE-2679] Translate MicroProfile Metrics Gauge Example to Spanish
URL: https://github.com/apache/tomee/pull/568#discussion_r324113500
 
 

 ##########
 File path: examples/mp-metrics-gauge/README_es.adoc
 ##########
 @@ -0,0 +1,160 @@
+= Métricas con MicroProfile `@Gauge` (Medida)
+
+:index-group: MicroProfile
+:jbake-type: page
+:jbake-status: published
+
+Este es un ejemplo sobre cómo utilizar las métricas de microperfil en TomEE.
+
+== Ejecute la aplicación:
+
+[source,bash]
+----
+$ mvn clean install tomee:run
+----
+
+Dentro de la aplicación, hay un endpoint que te dará la temperatura en celsios
+para el día.
+
+== Obtenga la temperatura para el día:
+
+[source,bash]
+----
+$ curl -X GET http://localhost:8080/mp-metrics-gauge/weather/day/temperature
+----
+
+== Response:
+ 30
+
+== Usando `@Gauge`
+
+Las métricas de MicroProfile tienen una función para medir. El valor y tipo de
+la medida son iguales a el valor y tipo del método anotado.
 
 Review comment:
   Addressed in c2809a0d5e

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services