# PromQL Joining metrics

**URL:** <https://discuss.prometheus.io/t/promql-joining-metrics/272>\
**Category:** PromQL\
**Created:** [May 28, 2021, 8:18am UTC](https://discuss.prometheus.io/t/promql-joining-metrics/272 "2021-05-28T08:18:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakshitha](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Rakshitha](https://discuss.prometheus.io/u/Rakshitha)\
**Post date:** [May 28, 2021, 8:18am UTC](https://discuss.prometheus.io/t/promql-joining-metrics/272/1 "2021-05-28T08:18:03Z")

</div>

Hello

I have 2 metrics  
1.rdsosmetrics\_processList\_cpuUsedPc

Example:  
rdsosmetrics\_processList\_cpuUsedPc{connectionState=“BIND”, databaseName=“dbname”, id=“0010”, instance=“instanceName”, ip=“ipAddr”, job="jobName, name=“postgres: username dbname ip(port) BIND”, parentID=“parid”, port=“port”, processName=“postgres”, region=“us-east-1”, tgid=“tgid”, userName=“userName”} and it’s value is in decimal like 0.20 which is cpu utilization value

1. rdsosmetrics\_timestamp

Example:  
rdsosmetrics\_timestamp{instance=“instanceName”, job=“jobName”, region=“us-east-1”}  
and it’s value is timestamp format like: 1622188465

I want to be able to join these two metrics to form a timeseries with timestamp from the second metric. Is this possible ? Please help!

If this is not possible to make a timeseries, I atleast want to view the timestamp values associated with the cpu usage value in a single table. I’m using grafana. Please help!
