mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-181512: new RRDs xapi_open_fds, pool_task_count and pool_session_count are now hidden from the XenCenter graphs.
This commit is contained in:
parent
82ab747bd6
commit
caa2c92f31
@ -126,7 +126,10 @@ namespace XenAdmin.Controls.CustomDataGraph
|
|||||||
public static DataSet Create(string uuid, IXenObject xo, bool show, string settype)
|
public static DataSet Create(string uuid, IXenObject xo, bool show, string settype)
|
||||||
{
|
{
|
||||||
var dataSet = new DataSet(uuid, xo, show, settype);
|
var dataSet = new DataSet(uuid, xo, show, settype);
|
||||||
|
if(settype == "xapi_open_fds" || settype == "pool_task_count" || settype == "pool_session_count")
|
||||||
|
{
|
||||||
|
dataSet.NeverShow = true;
|
||||||
|
}
|
||||||
if (settype.StartsWith("latency") || settype.EndsWith("latency"))
|
if (settype.StartsWith("latency") || settype.EndsWith("latency"))
|
||||||
{
|
{
|
||||||
if (settype.StartsWith("latency"))
|
if (settype.StartsWith("latency"))
|
||||||
|
@ -177,7 +177,7 @@ namespace XenAdmin.Controls.CustomDataGraph
|
|||||||
|
|
||||||
foreach (Data_source dataSource in dataSources)
|
foreach (Data_source dataSource in dataSources)
|
||||||
{
|
{
|
||||||
if (dataSource.name_label == "memory_total_kib" || dataSource.name_label == "memory")
|
if (dataSource.name_label == "memory_total_kib" || dataSource.name_label == "memory" || dataSource.name_label == "xapi_open_fds" || dataSource.name_label == "pool_task_count" || dataSource.name_label == "pool_session_count")
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
string friendlyName;
|
string friendlyName;
|
||||||
|
45
XenModel/FriendlyNames.Designer.cs
generated
45
XenModel/FriendlyNames.Designer.cs
generated
@ -1716,6 +1716,15 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to I/O errors.
|
||||||
|
/// </summary>
|
||||||
|
public static string Label_performance_io_errors {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Label-performance.io_errors", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Loopback Receive.
|
/// Looks up a localized string similar to Loopback Receive.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -1905,6 +1914,24 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to pool_session_count.
|
||||||
|
/// </summary>
|
||||||
|
public static string Label_performance_pool_session_count {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Label-performance.pool_session_count", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to pool_task_count.
|
||||||
|
/// </summary>
|
||||||
|
public static string Label_performance_pool_task_count {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Label-performance.pool_task_count", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to vCPUs idle.
|
/// Looks up a localized string similar to vCPUs idle.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -2130,6 +2157,15 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Tapdisks in low memory mode.
|
||||||
|
/// </summary>
|
||||||
|
public static string Label_performance_Tapdisks_in_low_memory_mode {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Label-performance.Tapdisks_in_low_memory_mode", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Disk {0} Queue Size.
|
/// Looks up a localized string similar to Disk {0} Queue Size.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -2364,6 +2400,15 @@ namespace XenAdmin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to xapi_open_fds.
|
||||||
|
/// </summary>
|
||||||
|
public static string Label_performance_xapi_open_fds {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Label-performance.xapi_open_fds", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to <Internal> Network {0} Receive.
|
/// Looks up a localized string similar to <Internal> Network {0} Receive.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1778,4 +1778,19 @@
|
|||||||
<data name="Label-SR.disk-space-allocations" xml:space="preserve">
|
<data name="Label-SR.disk-space-allocations" xml:space="preserve">
|
||||||
<value>Disk space allocations</value>
|
<value>Disk space allocations</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Label-performance.pool_session_count" xml:space="preserve">
|
||||||
|
<value>pool_session_count</value>
|
||||||
|
</data>
|
||||||
|
<data name="Label-performance.pool_task_count" xml:space="preserve">
|
||||||
|
<value>pool_task_count</value>
|
||||||
|
</data>
|
||||||
|
<data name="Label-performance.Tapdisks_in_low_memory_mode" xml:space="preserve">
|
||||||
|
<value>Tapdisks in low memory mode</value>
|
||||||
|
</data>
|
||||||
|
<data name="Label-performance.xapi_open_fds" xml:space="preserve">
|
||||||
|
<value>xapi_open_fds</value>
|
||||||
|
</data>
|
||||||
|
<data name="Label-performance.io_errors" xml:space="preserve">
|
||||||
|
<value>I/O errors</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
Loading…
Reference in New Issue
Block a user