-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.sh
executable file
·37 lines (35 loc) · 2.05 KB
/
debug.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#mvn clean package
OVEROPS_APP_URL=https://app.overops.com
OVEROPS_URL=https://api.overops.com:8080
OVEROPS_API_KEY=MgtbLpOMzJy6tG91n2NKkvHFPQD3i8hqlnMmb+Nm
OVEROPS_SID=S40514
OVEROPS_APPLICATION_NAME=event-generator
OVEROPS_DEPLOYMENT_NAME=deployment1
OVEROPS_NEW_EVENTS=true
OVEROPS_LINK=true
java -jar target/gitlab-overops.jar \
${OVEROPS_APP_URL:+--overOpsAppURL=$OVEROPS_APP_URL} \
${OVEROPS_URL:+--overOpsURL=$OVEROPS_URL} \
${OVEROPS_SID:+--overOpsSID=$OVEROPS_SID} \
${OVEROPS_API_KEY:+--overOpsAPIKey=$OVEROPS_API_KEY} \
${OVEROPS_APPLICATION_NAME:+--applicationName=$OVEROPS_APPLICATION_NAME} \
${OVEROPS_DEPLOYMENT_NAME:+--deploymentName=$OVEROPS_DEPLOYMENT_NAME} \
${OVEROPS_SERVICE_ID:+--serviceId=$OVEROPS_SERVICE_ID} \
${OVEROPS_REGEX_FILTER:+--regexFilter=$OVEROPS_REGEX_FILTER} \
${OVEROPS_MARK_UNSTABLE:+--markUnstable=$OVEROPS_MARK_UNSTABLE} \
${OVEROPS_PRINT_TOP_ISSUES:+--printTopIssues=$OVEROPS_PRINT_TOP_ISSUES} \
${OVEROPS_NEW_EVENTS:+--newEvents=$OVEROPS_NEW_EVENTS} \
${OVEROPS_RESURFACED_ERRORS:+--resurfacedErrors=$OVEROPS_RESURFACED_ERRORS} \
${OVEROPS_MAX_ERROR_VOLUME:+--maxErrorVolume=$OVEROPS_MAX_ERROR_VOLUME} \
${OVEROPS_MAX_UNIQUE_ERRORS:+--maxUniqueErrors=$OVEROPS_MAX_UNIQUE_ERRORS} \
${OVEROPS_CRITICAL_EXCEPTION_TYPES:+--criticalExceptionTypes=$OVEROPS_CRITICAL_EXCEPTION_TYPES} \
${OVEROPS_ACTIVE_TIMESPAN:+--activeTimespan=$OVEROPS_ACTIVE_TIMESPAN} \
${OVEROPS_BASE_LINE_TIMESPAN:+--baselineTimespan=$OVEROPS_BASE_LINE_TIMESPAN} \
${OVEROPS_MIN_VOLUME_THRESHOLD:+--minVolumeThreshold=$OVEROPS_MIN_VOLUME_THRESHOLD} \
${OVEROPS_MIN_ERROR_RATE_THRESHOLD:+--minErrorRateThreshold=$OVEROPS_MIN_ERROR_RATE_THRESHOLD} \
${OVEROPS_APPLY_SEASONALITY:+--applySeasonality=$OVEROPS_APPLY_SEASONALITY} \
${OVEROPS_SHOW_EVENTS_FOR_PASSED_GATES:+--showEventsForPassedGates=$OVEROPS_SHOW_EVENTS_FOR_PASSED_GATES} \
${OVEROPS_DEBUG:+--debug=$OVEROPS_DEBUG} \
${OVEROPS_CHECK:+--checkVersion=$OVEROPS_CHECK} \
${OVEROPS_LINK:+--link=$OVEROPS_LINK}
open /tmp/quality-report.html