Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
1eb78145
Unverified
Commit
1eb78145
authored
2 years ago
by
Raghupathi
Committed by
GitHub
2 years ago
Browse files
Options
Download
Patches
Plain Diff
slack Vars for ML (#3559)
parent
d6e9e726
master
login-changes
loginRegisterBtn
prasath-release-5.1.0
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
upstream/release-5.1.0-vdn
release-5.1.0_RC3
release-5.1.0_RC2
release-5.1.0_RC1
release-5.0.2
release-5.0.2_RC1
release-5.0.1
release-5.0.1_RC1
release-5.0.0
release-5.0.0_RC5
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/ml-analytics-service/defaults/main.yml
+2
-0
ansible/roles/ml-analytics-service/defaults/main.yml
ansible/roles/ml-analytics-service/templates/config.j2
+6
-0
ansible/roles/ml-analytics-service/templates/config.j2
with
8 additions
and
0 deletions
+8
-0
ansible/roles/ml-analytics-service/defaults/main.yml
+
2
−
0
View file @
1eb78145
...
...
@@ -85,3 +85,5 @@ ml_analytics_projects_distinctCnt_prglevel_azure_blob_path: "projects/distinctCo
ml_analytics_survey_status_output_dir
:
"
{{
WORKDIR
}}/source/survey/status/output"
ml_analytics_survey_azure_blob_path
:
"
survey/status/"
ml_analytics_druid_survey_status_injestion_spec
:
'
{"type":"index","spec":{"ioConfig":{"type":"index","inputSource":{"type":"azure","uris":["azure://telemetry-data-store/survey/status/sl_survey_status.json"]},"inputFormat":{"type":"json"}},"tuningConfig":{"type":"index","partitionsSpec":{"type":"dynamic"}},"dataSchema":{"dataSource":"ml-survey-status","granularitySpec":{"type":"uniform","queryGranularity":"DAY","rollup":true,"segmentGranularity":"DAY"},"timestampSpec":{"column":"updatedAt","format":"iso"},"dimensionsSpec":{"dimensions":["survey_submission_id",
"submission_status",
"user_id",
"user_sub_type",
"user_type",
"state_externalId",
"block_externalId",
"district_externalId",
"cluster_externalId",
"school_externalId",
"state_name",
"block_name",
"district_name",
"cluster_name",
"school_name",
"board_name",
"organisation_id",
"organisation_name",
"program_externalId",
"program_id",
"program_name",
"survey_name",
"survey_id",
"survey_externalId",
"created_date",
"submission_date",
"updatedAt",
"parent_channel",
"solution_name",
"solution_id","private_program"]},"metricsSpec":[]}}}'
slack_token
:
"
{{
ml_slack_token
|
default('')
}}"
channel_name
:
"
{{
ml_slack_channel
|
default('')
}}"
This diff is collapsed.
Click to expand it.
ansible/roles/ml-analytics-service/templates/config.j2
+
6
−
0
View file @
1eb78145
...
...
@@ -215,3 +215,9 @@ secret_access_key = {{ ml_analytics_AWS_secret_access_key }}
region_name = {{ ml_analytics_AWS_region_name }}
bucket_name = {{ ml_analytics_AWS_bucket_name }}
[SLACK]
token = {{ slack_token }}
channel = {{ channel_name }}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets