Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion golang-github-prometheus-prometheus.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Name: golang-%{provider}-%{project}-%{repo}
# Version and release information will be automatically managed by CD
# It will be kept in sync with OCP builds.
Version: %{rpm_ver}
Release: 2.git%{shortcommit}%{?dist}
Release: 4.git%{shortcommit}%{?dist}
Summary: The Prometheus monitoring system and time series database
License: ASL 2.0
URL: https://prometheus.io/
Expand Down Expand Up @@ -90,6 +90,9 @@ install -D -p -m 0644 consoles/* %{buildroot}%{_datadir}/prometheus/consoles
%{_datadir}/prometheus/consoles

%changelog
* Jan Thu 31 2019 Simon Pasquier <spasquie@redhat.com> - 2.3.2-4
- Remove highlight code in the UI.

* Thu Sep 27 2018 Simon Pasquier <spasquie@redhat.com> - 2.3.2-3
- Remove stop command in systemd unit

Expand Down
90 changes: 45 additions & 45 deletions web/ui/bindata.go

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions web/ui/static/js/graph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,7 @@ Prometheus.Graph.prototype.initTypeahead = function(self) {
return i === 0 ? a.localeCompare(b) : i;
});
return items;
},

highlighter: function (item) {
return $("<div>" + self.fuzzyResult.map[item].string + "</div>");
},
}
});
// This needs to happen after attaching the typeahead plugin, as it
// otherwise breaks the typeahead functionality.
Expand Down