View prometheus.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# my global config | |
global: | |
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
# scrape_timeout is set to the global default (10s). | |
# Alertmanager configuration | |
alerting: | |
alertmanagers: | |
- static_configs: |
View docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
prometheus: | |
image: prom/prometheus:v2.35.0 | |
container_name: prometheus | |
command: | |
- '--web.listen-address=0.0.0.0:9099' | |
- '--config.file=/etc/prometheus/prometheus.yml' | |
- '--storage.tsdb.path=/prometheus' | |
- '--web.console.libraries=/etc/prometheus/console_libraries' |
View UserInfoResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.demo; | |
import lombok.extern.slf4j.Slf4j; | |
import javax.ws.rs.Consumes; | |
import javax.ws.rs.POST; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import javax.ws.rs.core.MediaType; |
View camel-quarkus-demo-gen.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn io.quarkus:quarkus-maven-plugin:1.4.1.Final:create \ | |
-B \ | |
-DprojectGroupId=com.demo \ | |
-DprojectArtifactId=camel-quarkus-demo \ | |
-DclassName="com.demo.UserInfoResource" \ | |
-Dpath="/userinfo" \ | |
-Dextensions=" | |
quarkus-core, | |
quarkus-resteasy-jackson, | |
camel-quarkus-timer, |
View camel-quarkus-demo-gen.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn io.quarkus:quarkus-maven-plugin:1.4.1.Final:create \ | |
-B \ | |
-DprojectGroupId=com.demo \ | |
-DprojectArtifactId=camel-quarkus-demo \ | |
-DclassName="com.demo.UserInfoResource" \ | |
-Dpath="/userinfo" \ | |
-Dextensions=" | |
quarkus-core, | |
quarkus-resteasy-jackson, | |
camel-quarkus-timer, |
View CamelRouteBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.demo; | |
import org.apache.camel.Exchange; | |
import org.apache.camel.Processor; | |
import org.apache.camel.builder.RouteBuilder; | |
import org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat; | |
import org.apache.camel.model.rest.RestBindingMode; | |
import java.util.concurrent.atomic.AtomicInteger; |
View before-ocp-master-eth0-ipv4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
['ipv4' 설정 값] | |
ipv4.method: manual | |
ipv4.dns: 192.168.181.5 | |
ipv4.dns-search: example.com | |
ipv4.dns-options: (기본값) | |
ipv4.dns-priority: 0 | |
ipv4.addresses: 192.168.181.11/24 | |
ipv4.gateway: 192.168.181.2 | |
ipv4.routes: |
View .eip-chapter-9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apache Camel을 이용한 대출 모집인 구현 인용 |
View .mwsc-example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
마이크로 SOAP 웹 서비스 클라이언트 인용 |
View .mwss-example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
마이크로 SOAP 웹 서비스 서버 인용 |
NewerOlder