Skip to content

Commit e79a2b8

Browse files
committed
Add new Elasticsearch index for user adoption and fix formatting in seat assignments mapping
1 parent ff3f6a2 commit e79a2b8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cpuad-updater/create_es_indexes.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ curl -X PUT "http://$ELASTICSEARCH_URL/copilot_usage_total" -H 'Content-Type: ap
22
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_usage_breakdown" -H 'Content-Type: application/json' -d @mapping/copilot_usage_breakdown_mapping.json
33
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_usage_breakdown_chat" -H 'Content-Type: application/json' -d @mapping/copilot_usage_breakdown_chat_mapping.json
44
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_seat_info_settings" -H 'Content-Type: application/json' -d @mapping/copilot_seat_info_settings_mapping.json
5-
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_seat_assignments" -H 'Content-Type: application/json' -d @mapping/copilot_seat_assignments_mapping.json
5+
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_seat_assignments" -H 'Content-Type: application/json' -d @mapping/copilot_seat_assignments_mapping.json
6+
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_user_adoption" -H 'Content-Type: application/json' -d @mapping/copilot_user_adoption_mapping.json
7+
curl -X PUT "http://$ELASTICSEARCH_URL/copilot_user_metrics" -H 'Content-Type: application/json' -d @mapping/copilot_user_metrics_mapping.json

src/cpuad-updater/mapping/copilot_seat_assignments_mapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"plan_type" : {
4747
"type" : "keyword"
4848
},
49-
"days_since_last_activity" : {
49+
"days_since_last_activity" : {
5050
"type" : "long"
5151
},
5252
"is_active_today" : {

0 commit comments

Comments
 (0)