Skip to content

Commit

Permalink
Grafana review comments - Part 2#
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasshahoracle committed Oct 19, 2023
1 parent f06edc3 commit 5116d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (o *OCIDatasource) getCreateDataFieldElemsForField(dataFieldDefns map[strin
var ok bool

if dataFieldDefn, ok = dataFieldDefns[uniqueFieldKey]; !ok {
o.logger.Error("Did NOT find existing data field definition", "uniqueKey", uniqueFieldKey)
o.logger.Debug("Did NOT find existing data field definition", "uniqueKey", uniqueFieldKey)
// Since the specified unique key does not exist in the provided map,
// create & populate a new DataFieldElements object and add it to the map
// Map for the Labels element is always created and if a field has no associated labels then
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (ocidx *OCIDatasource) query(ctx context.Context, pCtx backend.PluginContex
takey = ocidx.GetTenancyAccessKey(qm.TenancyOCID)

logQueryType := ocidx.identifyQueryType(qm.QueryText)
backend.Logger.Warn("plugin.query", "logQueryType", logQueryType)
backend.Logger.Debug("plugin.query", "logQueryType", logQueryType)

var processErr error
fromMs := query.TimeRange.From.UnixNano() / int64(time.Millisecond)
Expand Down

0 comments on commit 5116d3e

Please sign in to comment.