Unverified Commit fdaafddd authored by Kevin Di Lallo's avatar Kevin Di Lallo Committed by GitHub
Browse files

Merge pull request #250 from pastorsx/sp_dev_gis-cache-influx

Signals and Distance Influx storage
parents beabc1c2 672db6f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -95,6 +95,8 @@ repo:
    dashboards:
      network-metrics-point-to-point: dashboards/network-metrics-point-to-point.json
      network-metrics-aggregation: dashboards/network-metrics-aggregation.json
      wireless-metrics-point-to-point: dashboards/wireless-metrics-point-to-point.json
      wireless-metrics-aggregation: dashboards/wireless-metrics-aggregation.json
      http-single-log: dashboards/http-log-byId.json
      http-logs-aggregation: dashboards/http-loggers.json
      platform-advantedge: dashboards/platform-advantedge.json
+933 −0

File added.

Preview size limit exceeded, changes collapsed.

+1148 −0

File added.

Preview size limit exceeded, changes collapsed.

+69 −2

File changed.

Preview size limit exceeded, changes collapsed.

+13 −1
Original line number Diff line number Diff line
@@ -788,14 +788,24 @@ func ceSendEvent(w http.ResponseWriter, r *http.Request) {

	// Process Event
	var httpStatus int
	var description string
	var description, src, dest string
	switch eventType {
	case eventTypeMobility:
		err, httpStatus, description = sendEventMobility(event)
		if err == nil {
			src = event.EventMobility.ElementName
			dest = event.EventMobility.Dest
		}
	case eventTypeNetCharUpdate:
		err, httpStatus, description = sendEventNetworkCharacteristics(event)
		if err == nil {
			src = event.EventNetworkCharacteristicsUpdate.ElementName
		}
	case eventTypePoasInRange:
		err, httpStatus, description = sendEventPoasInRange(event)
		if err == nil {
			src = event.EventPoasInRange.Ue
		}
	case eventTypeScenarioUpdate:
		err, httpStatus, description = sendEventScenarioUpdate(event)
	case eventTypePduSession:
@@ -817,6 +827,8 @@ func ceSendEvent(w http.ResponseWriter, r *http.Request) {
		var metric met.EventMetric
		metric.Event = string(eventJSONStr)
		metric.Description = description
		metric.Src = src
		metric.Dest = dest
		err = sbxCtrl.metricStore.SetEventMetric(eventType, metric)
	}
	if err != nil {
Loading