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
987b7716
Unverified
Commit
987b7716
authored
2 years ago
by
G33tha
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #3393 from raghupathiguduri/patch-6
Updated the ingestion spec
parents
cba2d5e1
006a16fc
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
release-5.0.0_RC4
release-5.0.0_RC3
release-5.0.0_RC2
release-5.0.0_RC1
release-4.10.2_RC1
release-4.10.1
release-4.10.1_RC2
release-4.10.1_RC1
release-4.10.0
release-4.10.0_RC1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/ml-analytics-service/defaults/main.yml
+1
-1
ansible/roles/ml-analytics-service/defaults/main.yml
with
1 addition
and
1 deletion
+1
-1
ansible/roles/ml-analytics-service/defaults/main.yml
+
1
−
1
View file @
987b7716
...
...
@@ -48,7 +48,7 @@ ml_analytics_project_output_dir: "{{ WORKDIR }}/source/projects/output"
ml_analytics_observation_status_output_dir
:
"
{{
WORKDIR
}}/source/observations/status/output"
ml_analytics_api_authorization_key
:
"
{{ml_api_auth_token
|
default('sunbird_api_auth_token')}}"
ml_analytics_api_access_token
:
"
{{ml_api_access_token
|
default('ml_core_internal_access_token')}}"
ml_analytics_druid_observation_status_injestion_spec
:
'
{"type":"index","spec":{"ioConfig":{"type":"index","
firehos
e":{"type":
"static-azure-blobstore","blobs":[{"container":"{{container_name}}","path":"
/observation/status/sl_observation_status.json"
}],"fetchTimeout":300000
},"inputFormat":{"type":"json"}},"tuningConfig":{"type":"index","partitionsSpec":{"type":"dynamic"}},"dataSchema":{"dataSource":"sl-observation-status","granularitySpec":{"type":"uniform","queryGranularity":"
none
","rollup":false,"segmentGranularity":"DAY"},"timestampSpec":{"column":"updatedAt","format":"auto"},"dimensionsSpec":{"dimensions":[
{"type":"string","name":"status"},{"type":"string","name":"entity_externalId"},{"type":"string","name":"entity_id"},{"type":"string","name":"entity_type"},{"type":"string","name":"solution_id"},{"type":"string","name":"solution_externalId"},{"type":"string","name":"submission_id"},{"type":"string","name":"entity_name"},{"type":"string","name":"solution_name"},{"type":"string","name":"role_title"},{"type":"string","name":"school_name"},{"type":"string","name":"school_id"},{"type":"string","name":
"school_externalId"
},{"typ
e"
:
"st
ring","name":"state_name"},{"type":"string","name":"state_id"},{"type":"string","name":"state_externalId"},{"type":"string","name":"district_name"},{"type":"string","name":"district_id"},{"type":"string","name":"district_externalId"},{"type":"string","name":"block_name"},{"type":"string","name":"block_id"},{"type":"string","name":"block_externalId"},{"type":"string","name":"cluster_name"},{"type":"string","name":"cluster_id"},{"type":"string","name":"cluster_externalId"},{"type":"string","name":"completedDate"},{"type":"string","name":"channel"},{"type":"string","name":"parent_channel"},{"type":"string","name":"program_id"},{"type":"string","name":"program_externalId"},{"type":"string","name":"program_name"},{"type":"string","name":"app_name"},{"type":"string","name":"user_id"},{"type":"string","name":"private_program"},{"type":"string","name":"solution_type"},{"type":"string","name":"organisation_name"},{"type":"string","name":"ecm_marked_na"},{"type":"string","name":"board_name"},{"type":"string","name":"updatedAt"},{"type":"string","name":
"organisation_id","user_type"
}
]},"metricsSpec":[]}}}'
ml_analytics_druid_observation_status_injestion_spec
:
'
{"type":"index","spec":{"ioConfig":{"type":"index","
inputSourc
e":{"type":
"azure","uris":
["azure://telemetry-data-store
/observation/status/sl_observation_status.json"
]
},"inputFormat":{"type":"json"}},"tuningConfig":{"type":"index","partitionsSpec":{"type":"dynamic"}},"dataSchema":{"dataSource":"sl-observation-status","granularitySpec":{"type":"uniform","queryGranularity":"
DAY
","rollup":false,"segmentGranularity":"DAY"},"timestampSpec":{"column":"updatedAt","format":"auto"},"dimensionsSpec":{"dimensions":[
"status","entity_externalId","entity_id","entity_type","solution_id","solution_externalId","submission_id","entity_name","solution_name","role_title","school_name","school_id",
"school_externalId"
,"state_nam
e"
,
"st
ate_id","state_externalId","district_name","district_id","district_externalId","zone_name","zone_id","zone_externalId","parent_name","parent_id","block_name","block_id","block_externalId","cluster_name","cluster_id","cluster_externalId","teacher_name","teacher_id","teacher_externalId","schoolLeader_name","schoolLeader_id","schoolLeader_externalId","taluk_id","taluk_externalId","taluk_name","hub_name","hub_id","hub_externalId","mandal_name","mandal_id","mandal_externalId","region_name","region_id","region_externalId","complex_name","complex_id","complex_externalId","completedDate","beat_name","beat_id","beat_externalId","division_name","division_id","division_externalId","Village/Ward_name","Village/Ward_id","Village/Ward_externalId","channel","parent_channel","program_id","program_externalId","program_name","app_name","user_id","private_program","solution_type","organisation_name",
"ecm_marked_na","board_name","updatedAt",
"organisation_id","user_type"]},"metricsSpec":[]}}}'
ml_analytics_druid_project_injestion_spec
:
'
{"type":"index","spec":{"ioConfig":{"type":"index","inputSource":{"type":
"azure","uris":
["azure://telemetry-data-store/projects/sl_projects.json"]},"inputFormat":{"type":"json"}},"tuningConfig":{"type":"index","partitionsSpec":{"type":"dynamic"}},"dataSchema":{"dataSource":"sl-project","granularitySpec":{"type":"uniform","queryGranularity":"DAY","rollup":false,"segmentGranularity":"DAY"},"timestampSpec":{"column":"project_updated_date","format":"auto"},"dimensionsSpec":{"dimensions":[]},"metricsSpec":[]}}}'
ml_analytics_azure_sas_token
:
"
{{
sunbird_private_storage_account_key
}}"
ml_analytics_druid_distinctCnt_obs_injestion_spec
:
'
{"type":"index","spec":{"ioConfig":{"type":"index","inputSource":{"type":"azure","uris":["azure://telemetry-data-store/observation/distinctCount/ml_observation_distinctCount_status.json"]},"inputFormat":{"type":"json"}},"tuningConfig":{"type":"index","partitionsSpec":{"type":"dynamic"}},"dataSchema":{"dataSource":"ml-obs-status","granularitySpec":{"type":"uniform","queryGranularity":"none","rollup":false,"segmentGranularity":"DAY"},"timestampSpec":{"column":"time_stamp","format":"auto"},"dimensionsSpec":{"dimensions":[{"type":"string","name":"program_name"},{"type":"string","name":"program_id"},{"type":"string","name":"solution_name"},{"type":"string","name":"solution_id"},{"type":"string","name":"status"},{"type":"string","name":"state_name"},{"type":"string","name":"state_externalId"},{"type":"string","name":"district_name"},{"type":"string","name":"district_externalId"},{"type":"string","name":"organisation_name"},{"type":"string","name":"organisation_id"},{"type":"string","name":"parent_channel"},{"type":"string","name":"solution_type"},{"type":"string","name":"private_program"},{"type":"long","name":"unique_submissions"},{"type":"long","name":"unique_entities"},{"type":"long","name":"unique_users"},{"type":"string","name":"time_stamp"}]},"metricsSpec":[]}}}'
...
...
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