Skip to content

Commit

Permalink
ED-3534:- Adoption Changes in ML service (project-sunbird#3993)
Browse files Browse the repository at this point in the history
* updated druid ports

* updated druid ports

* key changes

* key changes

---------

Co-authored-by: vivek <[email protected]>
  • Loading branch information
2 people authored and santhosh-tg committed Jun 27, 2024
1 parent 83f81a7 commit d88dc85
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ansible/roles/stack-sunbird/templates/ml-analytics-service.conf
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ batch_rollup_url = http://{{groups['druid'][0]}}:8081/druid/indexer/v1/task

urlQuery = http://{{groups['druid'][0]}}:8082/druid/v2?pretty

datasource_url = http://{{groups['ml-raw-broker'][0]}}:8082/druid/v2/datasources
datasource_url = http://{{groups['ml-raw-broker'][0]}}:{{ml_raw_broker_port}}/druid/v2/datasources

sql_url = http://{{groups['ml-raw-broker'][0]}}:8082/druid/v2/sql/
sql_url = http://{{groups['ml-raw-broker'][0]}}:{{ml_raw_broker_port}}/druid/v2/sql/

coordinator_url = http://{{groups['ml-raw-coordinator'][0]}}:8081/status/health
coordinator_url = http://{{groups['ml-raw-coordinator'][0]}}:{{ml_raw_coordinator_port}}/status/health

overload_url = http://{{groups['ml-raw-overload'][0]}}:8081/status/health
overload_url = http://{{groups['ml-raw-overload'][0]}}:{{ml_raw_overload_port}}/status/health

historical_url = http://{{groups['ml-raw-historical'][0]}}:8081/status/health
historical_url = http://{{groups['ml-raw-historical'][0]}}:{{ml_raw_historical_port}}/status/health

observation_status_injestion_spec = '{"type":"index","spec":{"ioConfig":{"type":"index","inputSource":{"type": "CloudType","uris": ["CloudURI"]},"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_code","school_externalId","state_name","state_code","state_externalId","district_name","district_code","district_externalId","block_name","block_code","block_externalId","cluster_name","cluster_code","cluster_externalId","completedDate","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","observed_school_name","observed_school_id","observed_school_code","observed_state_name","observed_state_id","observed_state_code","observed_district_name","observed_district_id","observed_district_code","observed_block_name","observed_block_id","observed_block_code","observed_cluster_name","observed_cluster_id","observed_cluster_code","isRubricDriven","criteriaLevelReport"]},"metricsSpec":[]}}}'

Expand Down

0 comments on commit d88dc85

Please sign in to comment.